Author |
Message
|
BobWilmes |
Posted: Tue Apr 25, 2006 4:33 pm Post subject: JMS TextMessage API and MQIIH Headers ??? |
|
|
 Novice
Joined: 07 Aug 2001 Posts: 13 Location: Phoenix
|
I am looking for some sample code using the JMS TextMessage API to create an MQIIH header for a JMS message.
(The only sample I've found uses the ByteMessage API).
Thanks for your help! _________________ Bob Wilmes
Scottsdale, Arizona
wilmes@ieee.org |
|
Back to top |
|
 |
RogerLacroix |
Posted: Tue Apr 25, 2006 10:11 pm Post subject: Re: JMS TextMessage API and MQIIH Headers ??? |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
BobWilmes wrote: |
I am looking for some sample code using the JMS TextMessage API to create an MQIIH header for a JMS message.
(The only sample I've found uses the ByteMessage API). |
MQIIH contains binary data. Therefore, you must use ByteMessage.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
BobWilmes |
Posted: Wed Apr 26, 2006 9:20 am Post subject: |
|
|
 Novice
Joined: 07 Aug 2001 Posts: 13 Location: Phoenix
|
The problem about using the JMS Byte Message API is the application is already using XML which the Java String class converts using the Text Message API.
Is it possible to create a MQIIH header using the Byte Message API and somehow append a Text Message to it ?
Thanks for your help!
Bob _________________ Bob Wilmes
Scottsdale, Arizona
wilmes@ieee.org |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 26, 2006 3:07 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I thought that message was created as a MapMessage?
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
BobWilmes |
Posted: Wed Apr 26, 2006 4:16 pm Post subject: |
|
|
 Novice
Joined: 07 Aug 2001 Posts: 13 Location: Phoenix
|
I thought Map Message always converted headers using the Text Message API. How do I set a binary field through Map Message to set the flags in the MQIIH header ? _________________ Bob Wilmes
Scottsdale, Arizona
wilmes@ieee.org |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 26, 2006 4:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What does your bridge documentation say?
And please look at the API for map message and the question will answer itself. _________________ MQ & Broker admin |
|
Back to top |
|
 |
|