|
jBroker® MQ 2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--com.sssw.jbroker.orb.ValueWrapper
|
+--com.sssw.jms.api.JMQAdministeredObject
|
+--com.sssw.jms.api.JMQDestination
|
+--com.sssw.jms.api.JMQQueue
A JBroker MQ Queue object encapsulates a queue name. It is the way a client specifies the identity of a queue to JMS methods.
JMQDestination, Serialized Form| Fields inherited from class com.sssw.jms.api.JMQDestination |
QUEUE, TOPIC |
| Method Summary | |
String |
getBrokerName()
Get the broker name serving this Queue. |
static JMQQueue |
getQueue(String queueName)
Get a jBroker MQ Queue local object with a given name. |
static JMQQueue |
getQueue(String queueName,
String brokerName)
Get a jBroker MQ Queue object with a given name. |
String |
getQueueName()
Get the name of this Queue. |
Reference |
getReference()
Get a JNDI Reference for this Queue. |
void |
setBrokerName(String brokerName)
Set the broker name where this Queue resides. |
void |
setQueueName(String queueName)
Set the name of this Queue. |
String |
toString()
Return a pretty printed version of the queue name. |
| Methods inherited from class com.sssw.jms.api.JMQDestination |
getName, getType, toNative |
| Methods inherited from class com.sssw.jbroker.orb.ValueWrapper |
_ids |
| Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static final JMQQueue getQueue(String queueName)
The constructed object is a handle to the Queue with the given name running inside the jBroker MQ server.
Note that the preferred/portable way to get Queue objects is via JNDI.
queueName - The queue name.public static final JMQQueue getQueue(String queueName,
String brokerName)
The constructed object is a handle to the Queue with the given name running inside the specified jBroker MQ server.
Note that the preferred/portable way to get Queue objects is via JNDI.
queueName - The queue name.brokerName - The broker name where queue resides.public String toString()
toString in interface QueuetoString in class ObjectImplpublic void setQueueName(String queueName)
queueName - the name of queuepublic String getQueueName()
throws JMSException
getQueueName in interface QueueJMSException - not raised by this implementationpublic void setBrokerName(String brokerName)
brokerName - name of broker were Queue residespublic String getBrokerName()
public Reference getReference()
throws NamingException
|
jBroker® MQ 2.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||