Class TempQueue

java.lang.Object
com.swiftmq.impl.streams.comp.io.TempQueue

public class TempQueue extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Internal use.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deletes the temporary queue and removes it from JNDI, if registered
    Destination
    Returns the javax.jms.Destination object to set as a replyTo
    Returns the name under which this temp queue is stored in the Stream
    Returns the queue name of the temporary queue at the Queue Manager Swiftlet
    Registers a TemporaryQueue under TempQueue.name() in JNDI so that JMS clients can look it up and can send Messages to it.
    Registers a TemporaryQueue under the given name in JNDI so that JMS clients can look it up and can send Messages to it.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • name

      public String name()
      Returns the name under which this temp queue is stored in the Stream
      Returns:
      name
    • queueName

      public String 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

      public TempQueue 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.
      Parameters:
      name - name under which it should be registered
      Returns:
      this
    • registerJNDI

      public TempQueue 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