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 Java / JMS » JMS passing entire Application data <usr> block

Post new topic  Reply to topic
 JMS passing entire Application data <usr> block « View previous topic :: View next topic » 
Author Message
KSkelton
PostPosted: Thu Mar 19, 2009 5:08 am    Post subject: JMS passing entire Application data <usr> block Reply with quote

Apprentice

Joined: 28 Oct 2001
Posts: 45

Is there a way in JMS to pass the entire RFH2 <usr> block from one message to another?
I can use the get/set StringProperty methods to pass individual properties, but I need a way for a JMS app. to act as a passthru for unknown Application properties in the RFH2 header.

The actual message body will be different.

Thanks.
Back to top
View user's profile Send private message Visit poster's website
WMBDEV1
PostPosted: Thu Mar 19, 2009 7:28 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

I've previously used a helper method to achieve this. If you do message.getPropertyNames() you can get an enumeration of all the properties in the RFH2 header (including the IBM properties). You can then copy each of these to the output message, again in the helper method.

Hope that helps.
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 Java / JMS » JMS passing entire Application data <usr> block
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.