javax.jms.Destinationpublic interface WLDestination
WLDestination provides methods for the following:
Destination,
Queue,
Topic| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getCreateDestinationArgument() |
Return a string suitable to use as an argument to
Session.createQueue() or Session.createTopic().
|
boolean |
isQueue() |
Determine if the destination is a JMS queue.
|
boolean |
isTopic() |
Determine if the destination is a JMS topic.
|
boolean isQueue()
Queueboolean isTopic()
Topicjava.lang.String getCreateDestinationArgument()
throws javax.jms.JMSException
Return a string suitable to use as an argument to Session.createQueue() or Session.createTopic().
The DistributedDestination format for this string may be different from non-DistributedDestination format.
javax.jms.JMSException - if a JMS error occursSession.createQueue(java.lang.String),
see weblogic.j2ee.descriptor.wl.JMSCreateDestinationIdentifier