|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WLDestination
A WLDestination provides methods that are not supported by javax.jms.Destination.
WLDestination provides methods for the following:
Destination
,
Queue
,
Topic
Method Summary | |
---|---|
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. |
Method Detail |
---|
boolean isQueue()
Queue
boolean isTopic()
Topic
String 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
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |