com.ibm.websphere.sib.mediation.session
Interface SIDestinationConfiguration
-
public interface SIDestinationConfiguration
This represents a snapshot of the configuration of a Destination. As such it is immutable.
-
-
Method Summary
Methods Modifier and Type Method and Description java.util.List
getDefaultForwardRoutingPath()
The default forward routing path that is configured for this destinationint
getDefaultPriority()
This gets the default priority assigned to messages sent to this destination if the message does not already have a priority assigned to it.java.lang.String
getDescription()
This method returns the description of the destination.int
getMaxFailedDeliveries()
This gets the number of times attempts will be made to deliver messages to a Consumer before the message will be moved to the exception destination.Reliability
getMaxReliability()
The maximum Reliability that can be specified on a message if that message is to successfully sent to the Destination.java.lang.String
getName()
This method returns the name of the destination whose configuration is reflected in this object.SIDestinationAddress
getReplyDestination()
The reply destination that is configured for this destination.boolean
isReceiveAllowed()
This method returns true if the destination is configured to allow consumers to receive messages from it.boolean
isReceiveExclusive()
This method returns true if the destination is configured so that only one consumer may be attached at any one time.boolean
isSendAllowed()
This method returns true if the destination is configured to allow producers to send messages to it.
-
-
-
Method Detail
-
getName
java.lang.String getName()
This method returns the name of the destination whose configuration is reflected in this object.- Returns:
- the name of the destination
-
getDescription
java.lang.String getDescription()
This method returns the description of the destination.- Returns:
- the destination's description
-
getDefaultPriority
int getDefaultPriority()
This gets the default priority assigned to messages sent to this destination if the message does not already have a priority assigned to it.- Returns:
- the default priority assigned to messages.
-
getMaxFailedDeliveries
int getMaxFailedDeliveries()
This gets the number of times attempts will be made to deliver messages to a Consumer before the message will be moved to the exception destination.- Returns:
- the number of times a message will be redelivered if delivery failed.
-
getMaxReliability
Reliability getMaxReliability()
The maximum Reliability that can be specified on a message if that message is to successfully sent to the Destination.- Returns:
- the maximum supported Reliability.
-
getReplyDestination
SIDestinationAddress getReplyDestination()
The reply destination that is configured for this destination.- Returns:
- the reply destination
-
getDefaultForwardRoutingPath
java.util.List getDefaultForwardRoutingPath()
The default forward routing path that is configured for this destination- Returns:
- the default forward routing path
-
isReceiveAllowed
boolean isReceiveAllowed()
This method returns true if the destination is configured to allow consumers to receive messages from it.- Returns:
- true if receive is allowed
-
isReceiveExclusive
boolean isReceiveExclusive()
This method returns true if the destination is configured so that only one consumer may be attached at any one time.- Returns:
- true if exclusive receive is enabled
-
isSendAllowed
boolean isSendAllowed()
This method returns true if the destination is configured to allow producers to send messages to it.- Returns:
- true if send is allowed
-
-