• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS Programatically create connection factory.

 
Patrick McDonogh
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to use JMS and have a couple of questions.

The first is that i can only find examples that use JNDI to get an instance of a ConnectionFactory which means that it would have to be managed elsewhere and stored in JNDI using a name and retrieved using that name.

Is it possible to rather programatically create a connection factory? If so, does anyone know of a code example or tutorial to do this?

Also, it is possible to do this using standard java with jar files or would you have to do it using an application server?

Thanks a lot for any advice or guidance. I know they are weird questions.
 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya , its possible .

What is the product you are using . You need to refer to the docs of it

This is the Code provided by the IBM MQ to get access to the MQ

 
Patrick McDonogh
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks so much for your help.

Its helped a lot
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic