|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WmDestination
Interface defining webMethods extensions to javax.jms.Destination and its subclasses.
Field Summary | |
---|---|
static int |
SHARED_STATE_ORDERING_NONE
Shared state ordering disabled. |
static int |
SHARED_STATE_ORDERING_PUBLISHER
Shared state ordering by publisher. |
static int |
SHARED_STATE_ORDERING_SESSION
Shared state ordering by session. |
static java.lang.String |
WILDCARD
The wildcard string used for Topics. |
Method Summary | |
---|---|
boolean |
getDeadLetterOnly()
Get whether dead letter subscriptions are enabled for this topic. |
java.lang.String |
getEventType()
Get the event type name used for this destination. |
boolean |
getLocalOnly()
Get whether local only subscriptions are enabled for this topic. |
java.lang.String |
getName()
Get the name of this destination. |
boolean |
getPriorityOrdering()
Get whether priority ordering is enabled for this destination. |
boolean |
getReadOnly()
Get whether this destination is read-only. |
boolean |
getSharedState()
Get the shared state for this destination. |
int |
getSharedStateOrdering()
Get the shared state ordering for this destination. |
boolean |
isWildCard()
Get whether the topic is a wildcard. |
void |
setDeadLetterOnly(boolean deadLetterOnly)
Enable dead letter subscriptions for this topic. |
void |
setEventType(java.lang.String eventType)
Set the event type name used for this destination. |
void |
setLocalOnly(boolean localOnly)
Enable local only subscriptions for this topic. |
void |
setName(java.lang.String name)
Set the name for this destination. |
void |
setPriorityOrdering(boolean priorityOrdering)
Enable of disable priority ordering for this destination. |
void |
setReadOnly()
Set this destination to read-only. |
void |
setSharedState(boolean sharedState)
Set the shared state for this destination. |
void |
setSharedStateOrdering(int sharedStateOrdering)
Set the shared state ordering for this destination. |
Field Detail |
---|
static final java.lang.String WILDCARD
static final int SHARED_STATE_ORDERING_NONE
static final int SHARED_STATE_ORDERING_PUBLISHER
static final int SHARED_STATE_ORDERING_SESSION
Method Detail |
---|
void setName(java.lang.String name) throws javax.jms.JMSException
The destination name must be a valid name. All destinations must have a name.
name
- the Destination name.
javax.jms.InvalidDestinationException
- if the destination name is invalid
javax.jms.JMSException
- if unable to set the namegetName()
java.lang.String getName() throws javax.jms.JMSException
javax.jms.JMSException
setName(java.lang.String)
void setEventType(java.lang.String eventType) throws javax.jms.JMSException
eventType
- the event type name for this destination
javax.jms.JMSException
- if unable to set the event typegetEventType()
java.lang.String getEventType() throws javax.jms.JMSException
javax.jms.JMSException
setEventType(java.lang.String)
void setSharedState(boolean sharedState) throws javax.jms.JMSException
sharedState
- the shared state value for this destination
javax.jms.JMSException
- if unable to set the shared stategetSharedState()
boolean getSharedState() throws javax.jms.JMSException
javax.jms.JMSException
setSharedState(boolean)
void setSharedStateOrdering(int sharedStateOrdering) throws javax.jms.JMSException
sharedStateOrdering
- the shared state ordering value for this destination; either SHARED_STATE_ORDERING_NONE
, SHARED_STATE_ORDERING_PUBLISHER
or
SHARED_STATE_ORDERING_SESSION
javax.jms.JMSException
- if unable to set the shared state orderinggetSharedStateOrdering()
int getSharedStateOrdering() throws javax.jms.JMSException
javax.jms.JMSException
setSharedStateOrdering(int)
void setDeadLetterOnly(boolean deadLetterOnly) throws javax.jms.JMSException
deadLetterOnly
- true
to enable dead letter subscriptions
javax.jms.JMSException
- if unable to set dead letter subscriptionsgetDeadLetterOnly()
boolean getDeadLetterOnly() throws javax.jms.JMSException
javax.jms.JMSException
setDeadLetterOnly(boolean)
void setLocalOnly(boolean localOnly) throws javax.jms.JMSException
localOnly
- true
to enable local only subscriptions
javax.jms.JMSException
- if unable to set local only subscriptionsgetLocalOnly()
boolean getLocalOnly() throws javax.jms.JMSException
javax.jms.JMSException
setLocalOnly(boolean)
void setPriorityOrdering(boolean priorityOrdering) throws javax.jms.JMSException
The default is for priority ordering to be enabled.
priorityOrdering
- true
to enable priority ordering
javax.jms.JMSException
- if unable to set priority orderinggetPriorityOrdering()
boolean getPriorityOrdering() throws javax.jms.JMSException
javax.jms.JMSException
setPriorityOrdering(boolean)
void setReadOnly() throws javax.jms.JMSException
javax.jms.JMSException
getReadOnly()
boolean getReadOnly() throws javax.jms.JMSException
javax.jms.JMSException
boolean isWildCard() throws javax.jms.JMSException
true
if the topic is wildcard; false
otherwise
javax.jms.JMSException
|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |