|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Porting from MQSeries Java classes -MQSeries classes for JMS |
« View previous topic :: View next topic » |
Author |
Message
|
mxpx24 |
Posted: Wed Dec 11, 2002 5:27 am Post subject: Porting from MQSeries Java classes -MQSeries classes for JMS |
|
|
Newbie
Joined: 10 Dec 2002 Posts: 8
|
Hi all,
I am finally starting to understand this MQSeries thing, I am a young Java developer who has only used JMS messaging in the past. Now here is a question for you advanced gurus, I need a complete answer:
If a messaging framework is already developed and uses the MQSeries Java classes, what are the main areas where code will change when switching to MQSeries classes for JMS?
Please take into account that I have not yet looked into any of the MQSeries classes for Java or JMS yet. One obvious question I have is the differnce between having queues already specified in MQSeries, and the transfer of these queue objects into a JNDI namespace. Can we use the same defined Queue objects? Thanks in advance
Greg |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Dec 11, 2002 6:44 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
I've never had to port from MQ java to JMS. Personally, I find the APIs quite a bit different in the way that the objects are handled. I've got 7 years of MQ experience, so I'm probably "set in my ways" regarding the base java APIs. I do know that there are some sample programs in the repository that are written in both java and JMS. There are also some additional samples on http://www.developer.ibm.com/tech/sampmq.html that also show java and JMS verisons of the programs.
Regarding your specific question of queue reuse, you'll need to define the queue to MQSeries regardless of which API you use. Once you have it defined, you can then run JMSAdmin to point the JNDI q to the actual MQSeries queue. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|