ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Is it complex to translate between JMS and MQ?

Post new topic  Reply to topic
 Is it complex to translate between JMS and MQ? « View previous topic :: View next topic » 
Author Message
fredand44
PostPosted: Sun Jan 27, 2008 5:38 am    Post subject: Is it complex to translate between JMS and MQ? Reply with quote

Acolyte

Joined: 14 Feb 2006
Posts: 63

Hello!

I wonder if it is a complex task to translate a JMS message (javax.jms.Message) to a MQ message (com.do_not_remember_the_package.MQMessage)?

I participate in a project where we need to do this translation.
(I must admit that I thougt ther was no need of a translation)

I would love to get hear some experiance and perhaps if ther is some "best practice"

Best regards
Fredrik
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sun Jan 27, 2008 8:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's not quite clear why you would need to do this translation... ?

You can read and write from MQ using JMS classes.

There's been some discussion on this before, though - but it's been a year or two.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fredand44
PostPosted: Sun Jan 27, 2008 10:34 am    Post subject: I guess... Reply with quote

Acolyte

Joined: 14 Feb 2006
Posts: 63

Hello!

Thanks for your reply.
I guess they would like to make sure that we translate from a object of javax.jms.Message to a MQMessage like:


JMS.getJMSPriority() - > MQ.correspondingMethod()/or property
JMS.getJMSRedelivered() - > MQ.correspondingMethod()/or property
...

... for each method or property in JMS to MQ. Right now I do not know the exact reason.
Me my self thought that JMS would be transparent to MQ.

Please comment
Best regards
Fredrik
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 27, 2008 11:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Find out the exact requirement and get back to us...
Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Sun Jan 27, 2008 2:31 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Also, not all JMS properties are directly translatable into MQ "properties".

Some are fields on the MQMD, and some are name/value pairs in the MQRHF2.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fredand44
PostPosted: Mon Jan 28, 2008 12:10 pm    Post subject: Thanks for all replies! Reply with quote

Acolyte

Joined: 14 Feb 2006
Posts: 63

Hello!

Thanks for all replies!

I will the get back with more detailed info as soon as I got them!

Thanks in advance a lot!!!

/Fredrik
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Is it complex to translate between JMS and MQ?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.