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 API Support » How to put messages randomly of different priority on Queue

Post new topic  Reply to topic
 How to put messages randomly of different priority on Queue « View previous topic :: View next topic » 
Author Message
chauhan_vin1
PostPosted: Fri Mar 17, 2006 4:04 am    Post subject: How to put messages randomly of different priority on Queue Reply with quote

Apprentice

Joined: 24 Feb 2006
Posts: 36
Location: Phoenix AZ

Hi All,

Can any one tell me,How to put messages randomly of different priority in the WebSphere MQ Queue using MQ API.I have to do this using a Java code and not using RFUtil so please can anyone help with some portion of the code where we can set the priority and put the messages in the queue.

I need to know the method by which we set the priority of the message before writing it to the queue.

Some links where I can find help would be of great help.

Thanks,
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
wschutz
PostPosted: Fri Mar 17, 2006 4:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Base java clases or JMS?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
chauhan_vin1
PostPosted: Fri Mar 17, 2006 4:16 am    Post subject: Reply with quote

Apprentice

Joined: 24 Feb 2006
Posts: 36
Location: Phoenix AZ

I would like to use Base Java with MQ API.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
PeterPotkay
PostPosted: Fri Mar 17, 2006 4:47 am    Post subject: Re: How to put messages randomly of different priority on Qu Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

chauhan_vin1 wrote:

Some links where I can find help would be of great help.

At the top of this screen is a button called documentation. Click the one that says Library Home Page, and find the Using Java manual.

Or use the Info Center and look at that manual there:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/csqzaw13.htm
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 17, 2006 3:20 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

chauhan_vin1 wrote:
I would like to use Base Java with MQ API.


Priority is a property of the message object, or in v6 a property of the MQMD object of the message object.

The code to put a message is the same regardless of the message or it's properties.
_________________
I am *not* the model of the modern major general.
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 API Support » How to put messages randomly of different priority on 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.