| Author |
Accessing Message Properties using MQMessage class
|
Tom Katz
Ranch Hand
Joined: Aug 19, 2002
Posts: 169
|
|
Is there any way to access *ALL* message properties of a message (or at least all their names) using the MQMessage class?
I've tried using getPropertyNames("%") hoping that that would return all the property names, but it doesn't seem to be working. Basically I need the java equivalent of MQINQMP in C.
There's the get*Property methods, but you need to know both the type and name of the property to call those.
I know I'm missing something here, please, be the first to point out my stupidity!
.. any help would be appreciated,
thanks,
Tom
|
 |
Tom Katz
Ranch Hand
Joined: Aug 19, 2002
Posts: 169
|
|
|
Ok, I've got this working now - I think there may have been issues with getting the right GMO values set. Now that I do getPropertyNames("%") does seem to work for querying all properties in a message.
|
 |
 |
|
|
subject: Accessing Message Properties using MQMessage class
|
|
|