File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Send JMS messages to Websphere MQ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Send JMS messages to Websphere MQ" Watch "Send JMS messages to Websphere MQ" New topic
Author

Send JMS messages to Websphere MQ

Moi Tinh
Greenhorn

Joined: Mar 05, 2005
Posts: 16
I'm using WSAD 5.1 and Websphere MQ 5.3. I want to send JMS messages to MQ. I already set up queue manager and queue in MQ already. I used the administrative console and created connection factory and destination queue and put in the queue manager and queue's names in it. But i could not send it over. i got the classcastexception when I tried to look up a connection queue factory

here's are the values for my environment
INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL=iiop://localhost/

I read this article but it still does not work

http://www-106.ibm.com/developerworks/ibm/library/i-ad5mq53-2/

What packages do I need to import into WSAD to send jms messages over to MQ? Any source code would be greatly appreciated. Thanks
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Hi Moi,

Not sure if you have the same problem, but you might find this thread helpful.
Regards.


I think, therefore I exist -- Rene Descartes
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Sorry, here there is the link:

http://www.coderanch.com/t/315828/EJB-JEE/java/Simple-EJB-Remote-Client
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send JMS messages to Websphere MQ