Reputation: 10762
I need to send a message to a WMQ queue. RfhUtilc, a part of WebSphere MQ Explorer is the only tool I know. I managed to send a message with the proper text content, but I don't know how to set JMS properties.
With rfhutilc, when I browse other messages with JMS properties set correctly, they appear in the "usr" tab as:
<propName>value</propName><otherPropName>othervalue</otherPropName>
When I try to reverse it — paste such string into the "usr" tab and send the message — I'm not getting any content in this field, when I read the message back. As a result, my message-driven bean doesn't get the message, as its message selector depends on a JMS property.
Anyone knows how to set the properties with rfhutilc? Or perhaps suggest a more user-friendly tool that can do it?
Upvotes: 1
Views: 5393
Reputation: 31832
Actually, rfhutil and rfhutilc are part of SupportPac IH03 and not part of WebSphere MQ Explorer. The good news with this is that you can download the latest version of IH03 and the User Guide that comes with it. The User Guide explains that the usr folder if for use with properties stored as RFH2 headers (old V6 style) and that the User Props tab is for V7. It also provides the syntax for entering name/type/value triplets and a list of available data types.
The User Prop tab is explained beginning on page 41 of the manual (page 56 of the PDF) and the usr tab content begins on page 52 of the manual (page 67 of the PDF).
The page listing all the SupportPacs is here. On that page, WebSphere MQ Explorer is SupportPac MS0T.
Upvotes: 4