This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send JMS messages to Websphere MQ

 
Moi Tinh
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Moi,

Not sure if you have the same problem, but you might find this thread helpful.
Regards.
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, here there is the link:

http://www.coderanch.com/t/315828/EJB-JEE/java/Simple-EJB-Remote-Client
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic