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 » MQ to JMS message

Post new topic  Reply to topic
 MQ to JMS message « View previous topic :: View next topic » 
Author Message
rkford11
PostPosted: Tue Jan 11, 2005 9:34 am    Post subject: MQ to JMS message Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

I have just started working with JMS so please guide me.
I have an MQ message and the receiving application is an JMS application.
i have to convert the message to JMS text message, i know i have to set MQRFH2 header but , what are all the properties i have to set so that the MQ message gets converted to JMS text message.

Thanks
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 11, 2005 10:09 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
i know i have to set MQRFH2 header

Not necessary. JMS can read an MQ message without an RFH2 header.

Jake sure the Format is MQSTR.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
rkford11
PostPosted: Tue Jan 11, 2005 11:17 am    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

EddieA wrote:
Quote:
i know i have to set MQRFH2 header

Not necessary. JMS can read an MQ message without an RFH2 header.

Jake sure the Format is MQSTR.

Cheers,


Thanks EddieA.
But if i have to publish the message i have to use MQRFH2. am i right.

Thanks
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Jan 11, 2005 12:58 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
i have to publish the message

If you are talking about Pub/Sub, then yes, your Subscribers need to build an RFH2 in order to register for the publications, and your Publishers need to provide an RFH2 with the publication information.

Reading between the lines of both your posts, it sounds like you might be trying to write a JMS program that takes an existing MQ message, and then Publishes it. Is that it. If so, then all you need do is build the Publishing information in the program. A program written using JMS can read a message either with, or without, an RFH2 seamlessly. When it writes a message, it will always include the RFH2, unless you tell the program specically NOT to include one.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ to JMS message
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.