Package com.swiftmq.impl.streams.comp.io
Class TempQueue
java.lang.Object
com.swiftmq.impl.streams.comp.io.TempQueue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Deletes the temporary queue and removes it from JNDI, if registeredDestination
Returns the javax.jms.Destination object to set as a replyToname()
Returns the name under which this temp queue is stored in the StreamReturns the queue name of the temporary queue at the Queue Manager SwiftletRegisters a TemporaryQueue under TempQueue.name() in JNDI so that JMS clients can look it up and can send Messages to it.registerJNDI
(String name) Registers a TemporaryQueue under the given name in JNDI so that JMS clients can look it up and can send Messages to it.
-
Constructor Details
-
TempQueue
Internal use.- Throws:
Exception
-
-
Method Details
-
name
Returns the name under which this temp queue is stored in the Stream- Returns:
- name
-
queueName
Returns the queue name of the temporary queue at the Queue Manager Swiftlet- Returns:
- queue name
-
destination
public Destination destination()Returns the javax.jms.Destination object to set as a replyTo- Returns:
- Destination
-
registerJNDI
Registers a TemporaryQueue under the given name in JNDI so that JMS clients can look it up and can send Messages to it.- Parameters:
name
- name under which it should be registered- Returns:
- this
-
registerJNDI
Registers a TemporaryQueue under TempQueue.name() in JNDI so that JMS clients can look it up and can send Messages to it.- Returns:
- this
-
delete
public void delete()Deletes the temporary queue and removes it from JNDI, if registered- Throws:
Exception
-