Maybe my understanding is skewed.
I have a message in WMB, I want to move someof the data fields in to the MQ Message Properties. How would one do this? So say I have afield named AGE and it's value is 13. So the Message Propety would be AGE=13. What would be the syntax to setup a Message Property named AGE with the value of 13. Would this just go into the RFH2 header in the usr folder as it always hasand using MQ v7 will call it a namedproperty?
Maybe my understanding is skewed.
I have a message in WMB, I want to move someof the data fields in to the MQ Message Properties. How would one do this? So say I have afield named AGE and it's value is 13. So the Message Propety would be AGE=13. What would be the syntax to setup a Message Property named AGE with the value of 13. Would this just go into the RFH2 header in the usr folder as it always hasand using MQ v7 will call it a namedproperty?
Read up on the properties in V7. They are handled differently and non JMS applications have access to the properties too.
Yes bobbee, that sounds correct.
So in WMQ 7 the enhanced API lets client work with properties, while in WMB 7 the MQ nodes still represent these properties using the RFH2.
The complication you might need to consider is that (as I understand it) WMQ 7 is trying to make JMS-style properties easy to work with and still give fairly complete control over old RFH2-style properties. So I totally agree with fjb_saper, it's a good idea to review the WMQ 7 documentation on how the property APIs work.
Also for new code have a think about whether you would like to use MQRFH2C for the RFH2 as it makes it a bit easier to work with.[/quote]
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