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 » Over-riding the JMSXAppID/putApplName in JMS

Post new topic  Reply to topic
 Over-riding the JMSXAppID/putApplName in JMS « View previous topic :: View next topic » 
Author Message
Rob_S
PostPosted: Wed Jul 04, 2007 8:52 am    Post subject: Over-riding the JMSXAppID/putApplName in JMS Reply with quote

Newbie

Joined: 22 Jun 2007
Posts: 1

Hi All,

I have a requirement to set the putApplName field to a specific value in the MQMD of outgoing messages from our system, and I was wondering if there was a way to set this value on all messages using JMS?

I read an earlier post stating that the CLIENTID value of the QCF in MQ JNDI would set it, but I have attempted to do that, and generate a .bindings to use (we are using Weblogic) but it hasn't worked.

Does anyone have any other thoughts on this?

Thanks in advance....
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Jul 04, 2007 1:58 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

The CLIENTID of QCF has nothing to do with the MQMD.putApplName.

First, download and read the WebSphere MQ Using Java manual.

Second, you are on the right track with JMSXAppID. Did you try
Code:
myMsg.setStringProperty("JMSXAppID","mything");

But then again, it may be a read-only property - hence, check the manual.


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
fjb_saper
PostPosted: Wed Jul 04, 2007 5:06 pm    Post subject: Reply with quote

Grand High Poobah

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

RogerLacroix wrote:
Hi,

The CLIENTID of QCF has nothing to do with the MQMD.putApplName.

First, download and read the WebSphere MQ Using Java manual.

Second, you are on the right track with JMSXAppID. Did you try
Code:
myMsg.setStringProperty("JMSXAppID","mything");

But then again, it may be a read-only property - hence, check the manual.


Regards,
Roger Lacroix
Capitalware Inc.

Roger you're right it is a read only property. The only way to set something like the application name from JMS is to do it on the RFH header. The MQMD property will always say something like WebSphereMQ for Java (from memory so don't quote me on it).

Enjoy
_________________
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 » Over-riding the JMSXAppID/putApplName in JMS
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.