| Author | Message | 
		
		  | fredand44 | 
			  
				|  Posted: Sun Jan 27, 2008 5:38 am    Post subject: Is it complex to translate between JMS and MQ? |   |  | 
		
		  | Acolyte
 
 
 Joined: 14 Feb 2006Posts: 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 |  | 
		
		  |  | 
		
		  | jefflowrey | 
			  
				|  Posted: Sun Jan 27, 2008 8:51 am    Post subject: |   |  | 
		
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 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 |  | 
		
		  |  | 
		
		  | fredand44 | 
			  
				|  Posted: Sun Jan 27, 2008 10:34 am    Post subject: I guess... |   |  | 
		
		  | Acolyte
 
 
 Joined: 14 Feb 2006Posts: 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 |  | 
		
		  |  | 
		
		  | fjb_saper | 
			  
				|  Posted: Sun Jan 27, 2008 11:02 am    Post subject: |   |  | 
		
		  |  Grand High Poobah
 
 
 Joined: 18 Nov 2003Posts: 20767
 Location: LI,NY
 
 | 
			  
				| Find out the exact requirement and get back to us... Enjoy
  _________________
 MQ & Broker admin
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | jefflowrey | 
			  
				|  Posted: Sun Jan 27, 2008 2:31 pm    Post subject: |   |  | 
		
		  | Grand Poobah
 
 
 Joined: 16 Oct 2002Posts: 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 |  | 
		
		  |  | 
		
		  | fredand44 | 
			  
				|  Posted: Mon Jan 28, 2008 12:10 pm    Post subject: Thanks for all replies! |   |  | 
		
		  | Acolyte
 
 
 Joined: 14 Feb 2006Posts: 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 |  | 
		
		  |  | 
		
		  |  |