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 to get MSGTYPE of datagram

Post new topic  Reply to topic
 How to get MSGTYPE of datagram « View previous topic :: View next topic » 
Author Message
schroederms
PostPosted: Thu Oct 07, 2004 7:00 am    Post subject: How to get MSGTYPE of datagram Reply with quote

Disciple

Joined: 21 Jul 2003
Posts: 169
Location: IA

Can someone tell me how to get a MQ message type of Datagram using JMS ? It currently has Request type in the MQMD and is causing one of our exits to fail. I've tried to setJmsType, but that is not it either.

Thanks in advance.
Back to top
View user's profile Send private message
siliconfish
PostPosted: Thu Oct 07, 2004 7:38 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

MQMessage msg = new MQMessage();
msg.messageType = MQC.MQMT_DATAGRAM;
_________________
siliconfish
Back to top
View user's profile Send private message
schroederms
PostPosted: Thu Oct 07, 2004 7:43 am    Post subject: Reply with quote

Disciple

Joined: 21 Jul 2003
Posts: 169
Location: IA

I'm using JMS message object not a MQ message object.
Back to top
View user's profile Send private message
siliconfish
PostPosted: Thu Oct 07, 2004 7:53 am    Post subject: Reply with quote

Master

Joined: 12 Aug 2002
Posts: 203
Location: USA

use setIntProperty("JMS_IBM_MsgType", com.ibm.mq.MQC.MQMT_DATAGRAM);
_________________
siliconfish
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 » How to get MSGTYPE of datagram
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.