ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS TextMessage API and MQIIH Headers ???

Post new topic  Reply to topic
 JMS TextMessage API and MQIIH Headers ??? « View previous topic :: View next topic » 
Author Message
BobWilmes
PostPosted: Tue Apr 25, 2006 4:33 pm    Post subject: JMS TextMessage API and MQIIH Headers ??? Reply with quote

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
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Tue Apr 25, 2006 10:11 pm    Post subject: Re: JMS TextMessage API and MQIIH Headers ??? Reply with quote

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
View user's profile Send private message Visit poster's website
BobWilmes
PostPosted: Wed Apr 26, 2006 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Apr 26, 2006 3:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
BobWilmes
PostPosted: Wed Apr 26, 2006 4:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Apr 26, 2006 4:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS TextMessage API and MQIIH Headers ???
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.