|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.qpid.client.AMQDestination
org.apache.qpid.client.AMQQueue
public class AMQQueue
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.qpid.client.AMQDestination |
---|
AMQDestination.AddressOption, AMQDestination.Binding, AMQDestination.DestSyntax |
Field Summary |
---|
Fields inherited from class org.apache.qpid.client.AMQDestination |
---|
_address, _addressType, _addrHelper, _assert, _create, _delete, _destSyntax, _exchangeClass, _exchangeName, _isAutoDelete, _isDurable, _isExclusive, _link, _name, _sourceNode, _subject, _targetLink, _targetNode, defaultDestSyntax, QUEUE_TYPE, TOPIC_TYPE, UNKNOWN_TYPE |
Constructor Summary | |
---|---|
AMQQueue(AMQConnection connection,
String name)
|
|
AMQQueue(AMQConnection connection,
String name,
boolean temporary)
|
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString name)
Create a reference to a non temporary queue. |
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString routingKey,
org.apache.qpid.framing.AMQShortString queueName)
|
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString routingKey,
org.apache.qpid.framing.AMQShortString queueName,
org.apache.qpid.framing.AMQShortString[] bindingKeys)
|
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString routingKey,
org.apache.qpid.framing.AMQShortString queueName,
boolean exclusive,
boolean autoDelete)
Create a reference to a queue. |
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString routingKey,
org.apache.qpid.framing.AMQShortString queueName,
boolean exclusive,
boolean autoDelete,
boolean durable)
|
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString routingKey,
org.apache.qpid.framing.AMQShortString queueName,
boolean exclusive,
boolean autoDelete,
boolean durable,
org.apache.qpid.framing.AMQShortString[] bindingKeys)
|
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
org.apache.qpid.framing.AMQShortString name,
boolean temporary)
Create a queue with a specified name. |
|
AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName,
String name)
Create a reference to a non temporary queue. |
|
AMQQueue(org.apache.qpid.url.BindingURL binding)
Create a reference to a non temporary queue using a BindingURL object. |
|
AMQQueue(String address)
|
|
AMQQueue(String exchangeName,
String name)
Create a reference to a non temporary queue. |
|
AMQQueue(String exchangeName,
String name,
boolean temporary)
Create a queue with a specified name. |
Method Summary | |
---|---|
org.apache.qpid.framing.AMQShortString |
getRoutingKey()
|
boolean |
isNameRequired()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jms.Queue |
---|
getQueueName, toString |
Constructor Detail |
---|
public AMQQueue(String address) throws URISyntaxException
URISyntaxException
public AMQQueue(org.apache.qpid.url.BindingURL binding)
binding
- a BindingURL objectpublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, String name)
name
- the name of the queuepublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString name)
name
- the name of the queuepublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString routingKey, org.apache.qpid.framing.AMQShortString queueName)
public AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString routingKey, org.apache.qpid.framing.AMQShortString queueName, org.apache.qpid.framing.AMQShortString[] bindingKeys)
public AMQQueue(String exchangeName, String name)
name
- the name of the queuepublic AMQQueue(AMQConnection connection, String name)
public AMQQueue(AMQConnection connection, String name, boolean temporary)
public AMQQueue(String exchangeName, String name, boolean temporary)
name
- the destination name (used in the routing key)temporary
- if true the broker will generate a queue name, also if true then the queue is autodeleted
and exclusivepublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString name, boolean temporary)
name
- the destination name (used in the routing key)temporary
- if true the broker will generate a queue name, also if true then the queue is autodeleted
and exclusivepublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString routingKey, org.apache.qpid.framing.AMQShortString queueName, boolean exclusive, boolean autoDelete)
exchangeName
- the exchange name we want to send the message toroutingKey
- the routing keyqueueName
- the queue nameexclusive
- true if the queue should only permit a single consumerautoDelete
- true if the queue should be deleted automatically when the last consumers detachespublic AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString routingKey, org.apache.qpid.framing.AMQShortString queueName, boolean exclusive, boolean autoDelete, boolean durable)
public AMQQueue(org.apache.qpid.framing.AMQShortString exchangeName, org.apache.qpid.framing.AMQShortString routingKey, org.apache.qpid.framing.AMQShortString queueName, boolean exclusive, boolean autoDelete, boolean durable, org.apache.qpid.framing.AMQShortString[] bindingKeys)
Method Detail |
---|
public org.apache.qpid.framing.AMQShortString getRoutingKey()
getRoutingKey
in class AMQDestination
public boolean isNameRequired()
isNameRequired
in class AMQDestination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |