| Author | 
		  Message
		 | 
		
		  | FionaF35 | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 5:02 am    Post subject: IBM XMS | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 23 Jan 2006 Posts: 8
  
  | 
		  
		    
			  
				Anyone know how to set the Msd format to XML i.e. I want to set the following <mcd><Msd>XML</Msd> .... </mcd>
 
 
Thanks,
 
Fiona. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 6:29 am    Post subject: Re: IBM XMS | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| FionaF35 wrote: | 
   
  
	| Anyone know how to set the Msd format to XML i.e. I want to set the following <mcd><Msd>XML</Msd> .... </mcd> | 
   
 
 
Help me out here - what has this got to do with XMS ? | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | FionaF35 | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 7:02 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 23 Jan 2006 Posts: 8
  
  | 
		  
		    
			  
				| XMS is the MQ Message Service Client for .NET. It's a beta from IBM. I want to send an XML message but currently the mcd folder contains jms_text | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mvic | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 7:48 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi
 
 Joined: 09 Mar 2004 Posts: 2080
  
  | 
		  
		    
			  
				
   
	| FionaF35 wrote: | 
   
  
	| XMS is the MQ Message Service Client for .NET. It's a beta from IBM. I want to send an XML message but currently the mcd folder contains jms_text | 
   
 
 
What happens if you just compose a text message containing your XML payload, and send it?  This is the way XMS is intended to be used - the XMS app programmer is expected to ignore the details (MQRFH2 etc.) of the actual message contents. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | FionaF35 | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 7:55 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Newbie
 
 Joined: 23 Jan 2006 Posts: 8
  
  | 
		  
		    
			  
				| It gets rejected by our MQ Broker. We have java code that uses the same MQ Broker. I compared the messages generated by .NET and java and the java messages have the mcd field set to XML whereas the .NET messages have jms_text. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | briancop | 
		  
		    
			  
				 Posted: Wed Feb 01, 2006 9:36 am    Post subject: Use the JMS_IBM_Format property | 
				     | 
			   
			 
		   | 
		
		
		    Apprentice
 
 Joined: 04 Apr 2005 Posts: 28 Location: Hursley, UK 
  | 
		  
		    
			  
				I'm pretty sure that this field is controlled by the JMS_IBM_Format property of the Message.  By default, it contains a value to reflect the type of JMS message, but can be application-defined.
 
 
Take another look in your Java application code - I would expect to see a line that sets a property on the message with name JMS_IBM_Format and value XML.   You should be able to do the same in XMS .NET. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | saketr | 
		  
		    
			  
				 Posted: Fri Jul 28, 2006 6:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 08 Feb 2006 Posts: 41
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |