Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to put and retrive data from MQ using Java

 
Arun Kathare
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a MQ Server running on a different system and a java App on a different system how will my app communicate with the MQ which is on a different system and put/get message .Pl, send me the complete code.
and if any settings related to MQ just let me know...?
 
Sushil Deshpande
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arun,
java/J2ee Provides API called JMS(Java Messaging Services)
This API cn be used to put/retrieve the Messages and can work with almost all the vendors providing Message Middleware
Please refere java.sun.com/products/jms

Sushil;
 
Arun Kathare
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sushil,
You are right but can you assist me with a small prog or a link

Arun
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arun - When MQ Series is installed, a substantial number of samples are provided.

I suggest you ask the admins of your server to give you copies of them.

Or, you can download and install an evaluation copy of MQ yourself, which is fully functional for 60 days. It will also have the examples.

You can also download the MQ Series client - it is totally free last I was aware - it should also have the examples.

Guy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic