public class TibjmsUFOQueue extends TibjmsUFODestination implements Queue, java.lang.Cloneable
Constructor and Description |
---|
TibjmsUFOQueue()
Constructs a new TibjmsUFOQueue object.
|
TibjmsUFOQueue(java.lang.String address)
Constructs a new TibjmsUFOQueue object with the given address.
|
TibjmsUFOQueue(java.lang.String address,
java.lang.String jndiName)
Internal constructor.
|
TibjmsUFOQueue(TibjmsQueue queue)
Constructs a new TibjmsUFOQueue object with the given TibjmsQueue
object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
java.lang.String |
getAddress()
Gets the address of this queue.
|
java.lang.String |
getQueueName()
Gets the name of this queue.
|
void |
setAddress(java.lang.String address)
Sets the address of this queue.
|
public TibjmsUFOQueue()
public TibjmsUFOQueue(java.lang.String address)
address
- address of the queuepublic TibjmsUFOQueue(java.lang.String address, java.lang.String jndiName)
public TibjmsUFOQueue(TibjmsQueue queue)
queue
- object of TibjmsQueuepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String getQueueName() throws JMSException
Queue
Clients that depend upon the name are not portable.
getQueueName
in interface Queue
JMSException
- if the JMS provider implementation of
Queue
fails to return the queue
name due to some internal
error.public java.lang.String getAddress()
public void setAddress(java.lang.String address) throws JMSException
TibjmsUFOQueue queue = new TibjmsUFOQueue();
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