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 » How do i transmit additional properties using com.ibm.mq

Post new topic  Reply to topic
 How do i transmit additional properties using com.ibm.mq « View previous topic :: View next topic » 
Author Message
singlethreaded
PostPosted: Sun Jun 12, 2005 6:15 pm    Post subject: How do i transmit additional properties using com.ibm.mq Reply with quote

Newbie

Joined: 12 Jun 2005
Posts: 1

Hi
I am new to MQ programming. My question is as follows :
What's the equivalent of setStringProperty method of JMS 'Message' class in native java package (com.ibm.mq.*)?

I need to transmit some additional message properties and am not very familiar with the native MQSeries APIs.

Thanks in advance,
SingleThreaded.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jun 12, 2005 7:40 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Time to read Using Java manual.
There is a list of mappings (as well as missing mappings) from JMS to base MQ and the reverse.

Enjoy
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Mon Jun 13, 2005 5:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

The setStringProperty of JMS puts a property into the 'usr' folder of the RFH2 header that JMS uses.

If you want some additional properties, then you should probably start looking at the MQRFH2 (rules and formatter header) as a place to carry them. You could also consider adding them to the front of your message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How do i transmit additional properties using com.ibm.mq
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.