Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.jms.extensions
Interface WLDestination

All Superinterfaces:
Destination

public interface WLDestination
extends Destination

A WLDestination provides methods that are not supported by javax.jms.Destination.

WLDestination provides methods for the following:

See Also:
Destination, Queue, Topic

Method Summary
abstract  String getCreateDestinationArgument()
          Return a string suitable to use as an argument to Session.createQueue() or Session.createTopic().
abstract  boolean isQueue()
          Determine if the destination is a JMS queue.
abstract  boolean isTopic()
          Determine if the destination is a JMS topic.

 

Method Detail

isQueue

boolean isQueue()
Determine if the destination is a JMS queue.
Returns:
True if the destination is a JMS queue.
See Also:
Queue

isTopic

boolean isTopic()
Determine if the destination is a JMS topic.
Returns:
True if the destination is a JMS topic.
See Also:
Topic

getCreateDestinationArgument

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.

Throws:
JMSException - if a JMS error occurs
Since:
WebLogic Server 9.0.1
See Also:
Session.createQueue(java.lang.String), see weblogic.j2ee.descriptor.wl.JMSCreateDestinationIdentifier

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09