Creating a TopicConnectionFactory

This example shows how to create a javax.jms.TopicConnectionFactory.
To be able to create a TopicConnectionFactory instance,
you’ll first need to instantiate a InitialContext object to look up the TopicConnectionFactory in the server’s naming service (JNDI tree).
The TopicConnectionFactory is used to create connections to a message server.
The behavior and attributes of the TopicConnectionFactory are configured by the system administrator of the messaging server.
Each vendor implements the the TopicConnectionFactory differently, so the configuration options may vary from one vendor to another.

Two overloaded versions of the createTopicConnection() method are provided by the TopicConnectionFactory:

Search for more Java info on this site here:
Custom Search

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">