webMethods Broker API for JMS
Version 9.5.1.0.171 091713

com.webmethods.jms
Interface WmTemporaryDestination


public interface WmTemporaryDestination

Interface defining webMethods administration methods for temporary destinations.


Field Summary
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
 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, a JMSException 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()

webMethods Broker API for JMS
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.