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 API Support » Q:How to add a MQRFH header using WMQ for Java

Post new topic  Reply to topic
 Q:How to add a MQRFH header using WMQ for Java « View previous topic :: View next topic » 
Author Message
Rudolf
PostPosted: Thu Dec 23, 2004 3:17 am    Post subject: Q:How to add a MQRFH header using WMQ for Java Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

I ploughed through the WMQ for Java manual and I can't figure out how to add an MQRFH header to a message. MQRFH seems only to be mentioned in the context of JMS, but I want to create a MQRFH header in order to add application specific properties.

Kind regards,
Rudolf de Grijs
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Thu Dec 23, 2004 5:16 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Rudolf,
there is no automatic way other then using JMS.

However... you can build the MQRFH2 yourself and put it infront of your data, don't forget to set the MQMD to MQRFH2 and then set the offset of the real application data in the MQRFH2.

Long time ago a college of mine coded this himself, but I have misplaced the code so I don't have a working sample ...

To do the reverse (which might show some hints) see http://www.mqseries.net/phpBB2/viewtopic.php?t=9911
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Rudolf
PostPosted: Thu Dec 23, 2004 5:39 am    Post subject: Reply with quote

Newbie

Joined: 24 Nov 2004
Posts: 7
Location: Netherlands

Thank you Michael. You helped me a lot !

Regards,
Rudolf
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 API Support » Q:How to add a MQRFH header using WMQ for Java
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.