public interface WLDestination extends Destination
WLDestination provides methods for the following:
Destination,
Queue,
Topic| Modifier and Type | Method and Description |
|---|---|
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()
TopicString getCreateDestinationArgument() throws 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.
JMSException - if a JMS error occursSession.createQueue(java.lang.String),
see weblogic.j2ee.descriptor.wl.JMSCreateDestinationIdentifier