Package com.webmethods.jms
Interface WmTemporaryDestination
-
- All Known Implementing Classes:
WmTemporaryQueueImpl
,WmTemporaryTopicImpl
public interface WmTemporaryDestination
Interface defining webMethods administration methods for temporary destinations.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TEMP_QUEUE_EVENT_TYPE
The event type name used for temporary queues.static java.lang.String
TEMP_TOPIC_EVENT_TYPE
The event type name used for temporary topics.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
decrementRefCount()
void
delete()
Deletes this temporary destination.void
incrementRefCount()
boolean
isDeleted()
Get whether this temporary destination has been deleted.void
setEventType(java.lang.String eventType)
Set the event type to be used by this temporary destination.
-
-
-
Field Detail
-
TEMP_TOPIC_EVENT_TYPE
static final java.lang.String TEMP_TOPIC_EVENT_TYPE
The event type name used for temporary topics.- See Also:
- Constant Field Values
-
TEMP_QUEUE_EVENT_TYPE
static final java.lang.String TEMP_QUEUE_EVENT_TYPE
The event type name used for temporary queues.- See Also:
- Constant Field Values
-
-
Method Detail
-
setEventType
void setEventType(java.lang.String eventType) throws javax.jms.JMSException
Set the event type to be used by this temporary destination.- Parameters:
eventType
- the event type to use for this temporary destination- Throws:
javax.jms.JMSException
- if the JMS provider fails to set the event type for this destination due to some internal error.
-
delete
void delete() throws javax.jms.JMSException
Deletes this temporary destination. If there are existing consumers still using it, aJMSException
will be thrown.- Throws:
javax.jms.JMSException
- if the JMS provider fails to delete the temporary destination due to some internal error.
-
isDeleted
boolean isDeleted()
Get whether this temporary destination has been deleted.- Returns:
true
if this temporary destination has been deleted.
-
incrementRefCount
void incrementRefCount()
-
decrementRefCount
void decrementRefCount()
-
-