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 set Message Properties before writting to a queue?

Post new topic  Reply to topic
 How to set Message Properties before writting to a queue? « View previous topic :: View next topic » 
Author Message
dev
PostPosted: Wed Nov 07, 2001 8:21 pm    Post subject: Reply with quote

Apprentice

Joined: 11 Oct 2001
Posts: 30

Hi,
I have to set Message properties before writting to a queue, I am writing a Java program, can someone let me know that what method on what Object it is to be set with small line syntax. I need to set MQMD for the message for Prority, Persistence, Encoding, CCSID.


Thanks

[ This Message was edited by: dev on 2001-11-07 20:22 ]
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 08, 2001 6:28 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

They are no methods to set these. They are all variables of MQMessage.

myMessage.Priority = MQC.MQPRI_PRIORITY_AS_Q_DEF

etc.

Cheers,

_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
dev
PostPosted: Thu Nov 08, 2001 9:18 am    Post subject: Reply with quote

Apprentice

Joined: 11 Oct 2001
Posts: 30

Thanks Eddie, Thanks a lot! It worked.
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 set Message Properties before writting to a queue?
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.