createTemporaryTopic

 

public TemporaryTopic createTemporaryTopic() throws JMSException;

Creates a temporary topic. The temporary topic remains until the connection ends or the topic is explicitly deleted, whichever is the sooner.

Returns

  • a temporary topic.

Exceptions

  • JMSException - if the Session fails to create a temporary topic due to an internal error.

  • IllegalStateException - if the Session object has been closed.


uj30230_