Posted: Thu Mar 19, 2009 5:08 am Post subject: JMS passing entire Application data <usr> block
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.
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.
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