DestinationBean
, NamedEntityBean
, SettableBean
, TargetableBean
UniformDistributedQueueBean
public interface QueueBean extends DestinationBean
Queues are used for asynchronous peer communications. A message delivered to a queue will be distributed to one consumer. Several aspects of a queues behavior can be configured with a queue bean.
Modifier and Type | Method | 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.
|
addDestinationKey, getAttachSender, getDeliveryFailureParams, getDeliveryParamsOverrides, getDestinationKeys, getIncompleteWorkExpirationTime, getJMSCreateDestinationIdentifier, getJNDIName, getLoadBalancingPolicy, getLocalJNDIName, getMaximumMessageSize, getMessageLoggingParams, getMessagingPerformancePreference, getQuota, getSAFExportPolicy, getTemplate, getThresholds, getUnitOfOrderRouting, getUnitOfWorkHandlingPolicy, isConsumptionPausedAtStartup, isDefaultUnitOfOrder, isInsertionPausedAtStartup, isProductionPausedAtStartup, removeDestinationKey, setAttachSender, setConsumptionPausedAtStartup, setDefaultUnitOfOrder, setDestinationKeys, setIncompleteWorkExpirationTime, setInsertionPausedAtStartup, setJMSCreateDestinationIdentifier, setJNDIName, setLoadBalancingPolicy, setLocalJNDIName, setMaximumMessageSize, setMessagingPerformancePreference, setProductionPausedAtStartup, setQuota, setSAFExportPolicy, setTemplate, setUnitOfOrderRouting, setUnitOfWorkHandlingPolicy
getId, getName, getNotes, setName, setNotes
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.
Note: This attribute is ignored by standalone/singleton Queues, it only applies to distributed queues.
void setForwardDelay(int forwardDelay) throws java.lang.IllegalArgumentException
Sets the value of the ForwardDelay attribute.
forwardDelay
- java.lang.IllegalArgumentException
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.
Note: This attribute is ignored by standalone/singleton Queues, it only applies to distributed queues.
void setResetDeliveryCountOnForward(boolean reset) throws java.lang.IllegalArgumentException
Sets the value of the ResetDeliveryCountOnForward attribute.
reset
- java.lang.IllegalArgumentException
getResetDeliveryCountOnForward()