createTopic

 

public Topic createTopic(String topicName) throws JMSException;

Creates a Topic given a Topic name.

Parameters

  • topicName - the name of this topic

Returns

  • a Topic with the given name.

Exceptions

  • JMSException - if a Session fails to create a Topic due to an internal error.

  • IllegalStateException - if the Session object has been closed.


uj30260_