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 » Resolved:Need to add a MQRFH2 Header with Msd set to jms_by

Post new topic  Reply to topic
 Resolved:Need to add a MQRFH2 Header with Msd set to jms_by « View previous topic :: View next topic » 
Author Message
wraymore
PostPosted: Fri Sep 10, 2010 12:20 pm    Post subject: Resolved:Need to add a MQRFH2 Header with Msd set to jms_by Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

WMB 6.0.0.8

Have a message in BLOB domain, that I need to add a MQRFH2 header with jms_bytes set.

What I have tried:

1. Copy Message Headers
2. Add MQRFH2 header
Code:
SET OutputRoot.MQMD.format = MQFMT_RF_HEADER_2;
        SET OutputRoot.MQRFH2.mcd.Msd = 'jms_bytes';
        SET OutputRoot.MQRFH2.(MQRFH2.Field)Format = MQFMT_STRING;
        SET OutputRoot.MQRFH2.usr.RoutingProcessId = 'NCP_COR_XML_REQUEST';
        SET OutputRoot.MQRFH2.usr.RoutingMessageType = 'Requisition';
        SET OutputRoot.MQRFH2.usr.RoutingMessageFormat = 'XML';
        SET OutputRoot.MQRFH2.usr.RoutingOriginatingSystem = 'BEACON';
        SET OutputRoot.MQRFH2.usr.RoutingDestinationSystem = 'COR';   


3. SET OutputRoot.BLOB.BLOB = InputRoot.BLOB.BLOB;

Output shows msd as None.



Last edited by wraymore on Sat Sep 11, 2010 8:11 am; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Sep 10, 2010 2:09 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can't just set the mcd.Msd folder like that.

Broker really likes to set that itself.

That doesn't mean you can't solve this problem. it just means that I don't remember off the top of my head if you can or how.

You may want to consider a JMSOutput node.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Sep 10, 2010 6:19 pm    Post subject: Reply with quote

Grand High Poobah

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

If you want a JMSBytes message it would behoove you to first set the format on the RFH2 to MQFMT_NONE instead of MQFMT_STRING (which is being set for a text message.)

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wraymore
PostPosted: Sat Sep 11, 2010 8:09 am    Post subject: Resolved: Need to add a MQRFH2 Header with Msd set to jms_by Reply with quote

Centurion

Joined: 16 Aug 2005
Posts: 114
Location: Burlington, NC USA

Setting the MQRFH2.Fomat to MQFMT_NONE fixed my problem.
Thanks
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 » Resolved:Need to add a MQRFH2 Header with Msd set to jms_by
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.