DistributedDestinationBean
, NamedEntityBean
, SettableBean
@Deprecated public interface DistributedQueueBean extends DistributedDestinationBean
Modifier and Type | Method | Description |
---|---|---|
DistributedDestinationMemberBean |
createDistributedQueueMember(java.lang.String name) |
Deprecated.
Creates a distributed queue member and adds it to this distributed queue.
|
void |
destroyDistributedQueueMember(DistributedDestinationMemberBean distributedDestinationMember) |
Deprecated.
Removes a distributed queue member from this distributed queue.
|
DistributedDestinationMemberBean[] |
getDistributedQueueMembers() |
Deprecated.
The list of all queue members that make up the aggregate distributed queue.
|
int |
getForwardDelay() |
Deprecated.
The number of seconds after which a distributed queue member with no consumers
will wait before forwarding its messages to other distributed queue
members that do have consumers.
|
boolean |
getResetDeliveryCountOnForward() |
Deprecated.
Determines whether or not the delivery count is reset during message
forwarding between distributed queue members.
|
DistributedDestinationMemberBean |
lookupDistributedQueueMember(java.lang.String name) |
Deprecated.
Finds a distributed queue member bean with the given name.
|
void |
setForwardDelay(int forwardDelay) |
Deprecated.
Sets the value of the ForwardDelay attribute.
|
void |
setResetDeliveryCountOnForward(boolean reset) |
Deprecated.
Sets the value of the ResetDeliveryCountOnForward attribute.
|
getJNDIName, getLoadBalancingPolicy, getSAFExportPolicy, getUnitOfOrderRouting, setJNDIName, setLoadBalancingPolicy, setSAFExportPolicy, setUnitOfOrderRouting
DistributedDestinationMemberBean[] getDistributedQueueMembers()
The list of all queue members that make up the aggregate distributed queue.
The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.
DistributedDestinationMemberBean createDistributedQueueMember(java.lang.String name)
Creates a distributed queue member and adds it to this distributed queue.
The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.
name
- The name of the distributed queue member bean to add to this distributed queuevoid destroyDistributedQueueMember(DistributedDestinationMemberBean distributedDestinationMember)
Removes a distributed queue member from this distributed queue.
The name of the specific queue and any configuration information about that queue (such as its relative weight) can be configured in the distributed queue member.
distributedDestinationMember
- The particular distributed queue member to remove
from this distributed queueDistributedDestinationMemberBean lookupDistributedQueueMember(java.lang.String name)
Finds a distributed queue member bean with the given name.
name
- The name of the distributed queue member to findint getForwardDelay()
The number of seconds after which a distributed queue member with no consumers will wait before forwarding its messages to other distributed queue members that do have consumers.
The default value of -1 disables this feature so that no messages are forwarded to other distributed queue members.
void setForwardDelay(int forwardDelay) throws java.lang.IllegalArgumentException
forwardDelay
- The new forward delay value for this distributed queue in secondsjava.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.
void setResetDeliveryCountOnForward(boolean reset) throws java.lang.IllegalArgumentException
reset
- java.lang.IllegalArgumentException
getResetDeliveryCountOnForward()