public interface UniformDistributedQueueBean extends UniformDistributedDestinationBean, QueueBean
A uniform distributed queue is a distributed queue whose members are configured as part of its configuration; since members share the same configuration, they are uniform. There is one member on each JMS Server that conforms to the targeting criteria of the uniform distributed queue. For example, if a uniform distributed queue is targeted to a cluster, then one member will be created on each JMS server in the cluster. Members are created and destroyed as the targeting is changed.
Modifier and Type | Method and Description |
---|---|
int |
getForwardDelay()
The number of seconds after which a uniform distributed queue member
with no consumers will wait before forwarding its messages to other uniform distributed
queue members that do have consumers.
|
boolean |
getResetDeliveryCountOnForward()
Determines whether or not the delivery count is reset during message
forwarding between distributed queue members.
|
void |
setForwardDelay(int forwardDelay)
Sets the value of the ForwardDelay attribute.
|
void |
setResetDeliveryCountOnForward(boolean reset)
Sets the value of the ResetDeliveryCountOnForward attribute.
|
getLoadBalancingPolicy, getUnitOfOrderRouting, setLoadBalancingPolicy, setUnitOfOrderRouting
addDestinationKey, getAttachSender, getDeliveryFailureParams, getDeliveryParamsOverrides, getDestinationKeys, getIncompleteWorkExpirationTime, getJMSCreateDestinationIdentifier, getJNDIName, getLocalJNDIName, getMaximumMessageSize, getMessageLoggingParams, getMessagingPerformancePreference, getQuota, getSAFExportPolicy, getTemplate, getThresholds, getUnitOfWorkHandlingPolicy, isConsumptionPausedAtStartup, isDefaultUnitOfOrder, isInsertionPausedAtStartup, isProductionPausedAtStartup, removeDestinationKey, setAttachSender, setConsumptionPausedAtStartup, setDefaultUnitOfOrder, setDestinationKeys, setIncompleteWorkExpirationTime, setInsertionPausedAtStartup, setJMSCreateDestinationIdentifier, setJNDIName, setLocalJNDIName, setMaximumMessageSize, setMessagingPerformancePreference, setProductionPausedAtStartup, setQuota, setSAFExportPolicy, setTemplate, setUnitOfWorkHandlingPolicy
getSubDeploymentName, isDefaultTargetingEnabled, setDefaultTargetingEnabled, setSubDeploymentName
int getForwardDelay()
The number of seconds after which a uniform distributed queue member with no consumers will wait before forwarding its messages to other uniform distributed queue members that do have consumers.
The default value of -1 disables this feature so that no messages are forwarded to other uniform distributed queue members.
void setForwardDelay(int forwardDelay) throws IllegalArgumentException
Sets the value of the ForwardDelay attribute.
forwardDelay
- IllegalArgumentException
UniformDistributedQueueBean.getForwardDelay()
boolean getResetDeliveryCountOnForward()
Determines whether or not the delivery count is reset during message forwarding between distributed queue members.
The default value of true resets the delivery counts on messages when they are forwarded to another distributed queue member.
void setResetDeliveryCountOnForward(boolean reset) throws IllegalArgumentException
Sets the value of the ResetDeliveryCountOnForward attribute.
reset
- IllegalArgumentException
UniformDistributedQueueBean.getResetDeliveryCountOnForward()