Package com.sun.messaging.jmq.util.admin

Examples of com.sun.messaging.jmq.util.admin.DestinationInfo


      handleSetterException(
    DestinationAttributes.CONSUMER_FLOW_LIMIT, e);
  }
    }
    public Long getConsumerFlowLimit()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (new Long(di.maxPrefetch));
    }
View Full Code Here


  return (new Long(di.maxPrefetch));
    }

    public Boolean getLocalOnly()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  if (di.isDestinationLocal())  {
      return (Boolean.TRUE);
  }
  return (Boolean.FALSE);
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.LIMIT_BEHAVIOR, e);
  }
    }
    public String getLimitBehavior()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (DestinationUtil.toExternalDestLimitBehavior(di.destLimitBehavior));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.LOCAL_DELIVERY_PREFERRED, e);
  }
    }
    public Boolean getLocalDeliveryPreferred()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  if (di.destCDP == ClusterDeliveryPolicy.LOCAL_PREFERRED)  {
      return (Boolean.TRUE);
  }
  return (Boolean.FALSE);
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_BYTES_PER_MSG, e);
  }
    }
    public Long getMaxBytesPerMsg()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (checkLongUnlimitedZero(new Long(di.maxMessageSize)));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_NUM_ACTIVE_CONSUMERS, e);
  }
    }
    public Integer getMaxNumActiveConsumers()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (new Integer(di.maxActiveConsumers));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_NUM_BACKUP_CONSUMERS, e);
  }
    }
    public Integer getMaxNumBackupConsumers()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (new Integer(di.maxFailoverConsumers));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_NUM_MSGS, e);
  }
    }
    public Long getMaxNumMsgs()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (checkLongUnlimitedZero(new Long(di.maxMessages)));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_NUM_PRODUCERS, e);
  }
    }
    public Integer getMaxNumProducers()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (new Integer(di.maxProducers));
    }
View Full Code Here

      handleSetterException(
    DestinationAttributes.MAX_TOTAL_MSG_BYTES, e);
  }
    }
    public Long getMaxTotalMsgBytes()  {
  DestinationInfo di = DestinationUtil.getDestinationInfo(d);

  return (checkLongUnlimitedZero(new Long(di.maxMessageBytes)));
    }
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.util.admin.DestinationInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.