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 » WebSphere Message Broker (ACE) Support » Trying to output a message in jms_text format

Post new topic  Reply to topic
 Trying to output a message in jms_text format « View previous topic :: View next topic » 
Author Message
pfaulkner
PostPosted: Mon Apr 11, 2005 2:02 pm    Post subject: Trying to output a message in jms_text format Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

Hi,

I have a jms_test message coming into my message flow that contains some xml data. When I try to send my message out as a jms_test message I run into problems.

I use the following code to set the RFH2 header...

SET OutputRoot.MQRFH2.mcd.Msd = 'jms_text';
SET OutputRoot.MQRFH2.jms.Rto = 'queue:///ESB.WMQI.EBONDING.ORDSTATUS.REPLY';
SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = 'MQSTR ';
SET OutputRoot.MQMD.ReplyToQ = 'ESB.WMQI.EBONDING.ORDSTATUS.REPLY';

When I look at the message on my output queue the mcd.Msd has been changed to 'none'. <Msd>none</Msd>

If I don't map the output body portion of my message which is in an xml format then the header looks fine.

any help would be appreciated.

thanks
Back to top
View user's profile Send private message AIM Address
dond
PostPosted: Tue May 03, 2005 7:29 am    Post subject: Any Responses Reply with quote

Newbie

Joined: 30 Apr 2005
Posts: 2

I've seen a couple of people with this problem, but I've never seen an answer. Does anyone know why the msd field is getting "reset" to xml rather than jms_text? I have the same problem.
Back to top
View user's profile Send private message
migerrits
PostPosted: Fri May 06, 2005 7:57 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

I have the same problem, only it's going from 'xml' to 'none'.
Back to top
View user's profile Send private message
dond
PostPosted: Fri May 06, 2005 8:25 am    Post subject: Reply with quote

Newbie

Joined: 30 Apr 2005
Posts: 2

I had some luck by inserting a "ResetContentDescriptor" between my last compute node and the output node.... can't say I understand all these little subtleties (if thats what they are).
Back to top
View user's profile Send private message
pfaulkner
PostPosted: Fri May 06, 2005 8:26 am    Post subject: Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

although the jms_text is not set it appears that I can still consume the message from a server expecting a jms_text message. So looks like the message is still in jms_text format.
Back to top
View user's profile Send private message AIM Address
migerrits
PostPosted: Fri May 06, 2005 9:11 am    Post subject: Reply with quote

Apprentice

Joined: 13 Dec 2002
Posts: 35
Location: Canada

dond wrote:
I had some luck by inserting a "ResetContentDescriptor" between my last compute node and the output node.... can't say I understand all these little subtleties (if thats what they are).

This worked for me! I did this, and set the "Message Domain" to XML, which forced the Msd to be 'xml'.
Back to top
View user's profile Send private message
cgthomas
PostPosted: Tue May 10, 2005 7:10 am    Post subject: Trying to output a message in jms_text format Reply with quote

Newbie

Joined: 10 May 2005
Posts: 1

Insert a ResetContentDescriptor just before the output node. Reset the MessageDomain to 'jms_text'. You have to type in the value 'jms_text'
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 » WebSphere Message Broker (ACE) Support » Trying to output a message in jms_text format
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.