public class TibjmsQueue extends TibjmsDestination implements Queue, java.io.Serializable, java.lang.Cloneable, javax.naming.Referenceable
| Constructor and Description |
|---|
TibjmsQueue()
Constructs a new TibjmsQueue object.
|
TibjmsQueue(java.lang.String address)
Constructs a new TibjmsQueue object with the given address.
|
TibjmsQueue(java.lang.String address,
java.lang.String jndiName)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAddress()
Gets the address of this queue.
|
java.lang.String |
getQueueName()
Gets the name of this queue.
|
javax.naming.Reference |
getReference() |
void |
setAddress(java.lang.String address)
Sets the address of this queue.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
public TibjmsQueue()
public TibjmsQueue(java.lang.String address)
address - address of the queuepublic TibjmsQueue(java.lang.String address,
java.lang.String jndiName)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic boolean equals(java.lang.Object obj)
public java.lang.String getQueueName()
throws JMSException
QueueClients that depend upon the name are not portable.
getQueueName in interface QueueJMSException - if the Jakarta Messaging provider implementation of Queue fails to return the queue name due to
some internal error.public java.lang.String toString()
Queuepublic javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingExceptionpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
throws JMSException
TibjmsQueue queue = new TibjmsQueue();
queue.setAddress("queue.sample");address - the string representing the address, or name, of this queueJMSException - if the address has already been setCopyright © Cloud Software Group, Inc. All rights reserved