Author |
Message
|
zpat |
Posted: Tue Dec 06, 2011 2:00 am Post subject: WMB 7 and support for WMQ 7 message properties |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
WMB 7003 and WMQ 7013 on AIX.
Does WMB 7 have support (in ESQL) for creating WMQ v7 message properties?
Any example code around? |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 06, 2011 3:26 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Do you mean MQMD and other WMQ headers and properties?
Or something else entriely? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
zpat |
Posted: Tue Dec 06, 2011 4:44 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
It's sort of like JMS folders, but not just for JMS
Quote: |
Extensions to the Message Queue Interface (MQI) programming interface, providing new verbs and behaviors.
These include new verbs to associate properties with messages and query those properties, and new options to select messages by property value.
Message properties allow you to select messages, or to retrieve information about a message without accessing its headers. The MQMessage class contains methods to get and set properties.
You can use message properties to allow an application to select messages to process, or to retrieve information about a message without accessing MQMD or MQRFH2 headers. They also facilitate communication between WebSphere MQ and JMS applications. For a discussion of message properties in WebSphere MQ, see Message properties.
The MQMessage class provides a number of methods to get and set properties, according to the data type of the property. The get methods have names of the format Get*Property, and the set methods have names of the format Set*Property, where the asterisk (*) represents one of the following strings |
|
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Dec 06, 2011 6:01 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Like this maybe?
http://www.mqseries.net/phpBB2/viewtopic.php?p=242818 _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Dec 06, 2011 6:01 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I believe that Broker v7 doesn't really support MQ V7 Properties.
You need to construct an MQRFH2 header tree, then when the MQOutput node sends the message, it will turn that into a relevant set of message properties. |
|
Back to top |
|
 |
|