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 » setting ApplIdentitydata through JMS

Post new topic  Reply to topic
 setting ApplIdentitydata through JMS « View previous topic :: View next topic » 
Author Message
i015875
PostPosted: Thu Apr 18, 2002 11:38 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2002
Posts: 2

I need to set ApplIdentitydata in a MQMessage because of a boring Cobol program.
I know how to do it using MQI :

MQMessage message1 = new MQMessage();
message1.applicationIdData = "DVSPACCE";
message1.writeString("BOGUS MESSAGE1");
message1.
MQPutMessageOptions pmo1 = new MQPutMessageOptions( );
pmo1.options = MQC.MQPMO_SET_IDENTITY_CONTEXT | MQC.MQPMO_SYNCPOINT ;
Q1.put(message1, pmo1);

But what about JMS ?

doing this does not seem to work (blank field at the other side) :

TextMessage msg = session.createTextMessage();
msg.setText("$$$$$$$$$$$$$$$$$$$$$$$");
msg.setStringProperty("ApplIdentityData","DVSPACCE");
msg.setStringProperty("JMS_IBM_Character_Set","ibm500");
sender.send(jmsMessage);

Help !

Back to top
View user's profile Send private message
ashgove
PostPosted: Mon Jun 16, 2003 11:19 pm    Post subject: Reply with quote

Novice

Joined: 29 May 2003
Posts: 11

Did u find out a way of doing the same?
_________________
-A-
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » setting ApplIdentitydata through 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.