This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JMS Programatically create connection factory. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Programatically create connection factory." Watch "JMS Programatically create connection factory." New topic
Author

JMS Programatically create connection factory.

Patrick McDonogh
Ranch Hand

Joined: Oct 13, 2005
Posts: 89
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

Joined: Jan 30, 2009
Posts: 528
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



If you want something you never had do something which you had never done
Patrick McDonogh
Ranch Hand

Joined: Oct 13, 2005
Posts: 89
Thanks so much for your help.

Its helped a lot
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS Programatically create connection factory.
 
Similar Threads
Weblogic - JMS Configurations
Posting to JMS Remote Queue
Multiple Entries in sun-ejb-jar.xml for Message Driven Bean?
Using JMS in websphere
create managed objects thru code?