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 Properties mapped to a non JMS Client

Post new topic  Reply to topic
 JMS Properties mapped to a non JMS Client « View previous topic :: View next topic » 
Author Message
duder
PostPosted: Mon Nov 18, 2002 8:59 am    Post subject: JMS Properties mapped to a non JMS Client Reply with quote

Newbie

Joined: 18 Nov 2002
Posts: 7

I'm trying to send a JMS message with user defined properties to MQ which will be read by a non JMS client. I'm able to set user defined properties for JMS to JMS. I've also set the target client to JMS, but that doesn't seem to help. Anyone have any ideas?

Also, can you see the user defined properties in the MQSeries Explorer?

Thanks!
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Nov 18, 2002 11:08 am    Post subject: Reply with quote

Jedi Knight

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

If you are setting the user properties, you can use the explorer to look at the Data associated with the message. The Format should be MQHRF2 which shows up as RFH in the front of the message. It just won't be formatted (which is probably what you wanted). You can also use the amqsbcg program to browse the queue and look at the message.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
duder
PostPosted: Mon Nov 18, 2002 12:55 pm    Post subject: Reply with quote

Newbie

Joined: 18 Nov 2002
Posts: 7

I'm able to see my user defined properties if I specify a JMS client. I'm interested in see my user defined properties for a non JMS client. I have a VB app in which I would like to see properties set by my JMS application.

Thanks!
Back to top
View user's profile Send private message
kingdon
PostPosted: Wed Nov 20, 2002 3:51 am    Post subject: Reply with quote

Acolyte

Joined: 14 Jan 2002
Posts: 63
Location: UK

The targetClient property is badly named, we should have called it something like 'useRFH2'. If you set targetClient to non-JMS the RFH2 is not sent, so things that are normally carried in the RFH2 will be lost - the user properties are the most obvious example. If you want to preserve the user properties then keep the targetClient set to JMS compliant. You'll then have to write code in your receiving application to parse the RFH2 and extract the user properties. Details on the format are in the "Using Java" manual.

Regards,
James.
Back to top
View user's profile Send private message
duder
PostPosted: Wed Nov 20, 2002 5:17 am    Post subject: Reply with quote

Newbie

Joined: 18 Nov 2002
Posts: 7

James,

Thanks for the information. This is the answer I was looking for. I'll look into the manual.
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 » JMS Properties mapped to a non JMS Client
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.