org.apache.qpid.client.messaging.address
Class AddressHelper
java.lang.Object
org.apache.qpid.client.messaging.address.AddressHelper
public class AddressHelper
- extends Object
Utility class for extracting information from the address class
Constructor Summary |
AddressHelper(org.apache.qpid.messaging.Address address)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE
public static final String NODE
- See Also:
- Constant Field Values
LINK
public static final String LINK
- See Also:
- Constant Field Values
X_DECLARE
public static final String X_DECLARE
- See Also:
- Constant Field Values
X_BINDINGS
public static final String X_BINDINGS
- See Also:
- Constant Field Values
X_SUBSCRIBE
public static final String X_SUBSCRIBE
- See Also:
- Constant Field Values
CREATE
public static final String CREATE
- See Also:
- Constant Field Values
ASSERT
public static final String ASSERT
- See Also:
- Constant Field Values
DELETE
public static final String DELETE
- See Also:
- Constant Field Values
FILTER
public static final String FILTER
- See Also:
- Constant Field Values
NO_LOCAL
public static final String NO_LOCAL
- See Also:
- Constant Field Values
DURABLE
public static final String DURABLE
- See Also:
- Constant Field Values
EXCLUSIVE
public static final String EXCLUSIVE
- See Also:
- Constant Field Values
AUTO_DELETE
public static final String AUTO_DELETE
- See Also:
- Constant Field Values
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
ALT_EXCHANGE
public static final String ALT_EXCHANGE
- See Also:
- Constant Field Values
BINDINGS
public static final String BINDINGS
- See Also:
- Constant Field Values
BROWSE
public static final String BROWSE
- See Also:
- Constant Field Values
MODE
public static final String MODE
- See Also:
- Constant Field Values
CAPACITY
public static final String CAPACITY
- See Also:
- Constant Field Values
CAPACITY_SOURCE
public static final String CAPACITY_SOURCE
- See Also:
- Constant Field Values
CAPACITY_TARGET
public static final String CAPACITY_TARGET
- See Also:
- Constant Field Values
NAME
public static final String NAME
- See Also:
- Constant Field Values
EXCHANGE
public static final String EXCHANGE
- See Also:
- Constant Field Values
QUEUE
public static final String QUEUE
- See Also:
- Constant Field Values
KEY
public static final String KEY
- See Also:
- Constant Field Values
ARGUMENTS
public static final String ARGUMENTS
- See Also:
- Constant Field Values
RELIABILITY
public static final String RELIABILITY
- See Also:
- Constant Field Values
AddressHelper
public AddressHelper(org.apache.qpid.messaging.Address address)
getCreate
public String getCreate()
getAssert
public String getAssert()
getDelete
public String getDelete()
isNoLocal
public boolean isNoLocal()
isBrowseOnly
public boolean isBrowseOnly()
getBindings
public List<AMQDestination.Binding> getBindings(Map props)
getDeclareArgs
public Map getDeclareArgs(Map props)
getTargetNodeType
public int getTargetNodeType()
throws Exception
- Throws:
Exception
getTargetNode
public Node getTargetNode(int addressType)
getSourceNode
public Node getSourceNode(int addressType)
- if the type == queue x-declare args from the node props is used. if the
type == exchange x-declare args from the link props is used else just
create a default temp queue.
getLink
public Link getLink()
Licensed to the Apache Software Foundation