Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | Oracle
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weblogic.jms.extensions
Interface WLDestination

    public interface WLDestination

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

WLDestination provides methods for the following:

- Determining if a destination is a queue or a topic.

See Also:
  `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

### 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:
    `javax.jms.JMSException` - if a JMS error occurs
    `JMSException`
  Since:
    WebLogic Server 9.0.1
  See Also:
    `Session`, `Session`, `weblogic.j2ee.descriptor.wl.DestinationBean#getJMSCreateDestinationIdentifier`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://edocs.bea.com/wls/docs103 Copyright 1996,2008, 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.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD