|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Distinguishing b/w message types of messages put on Queue |
« View previous topic :: View next topic » |
Author |
Message
|
lookman |
Posted: Wed Sep 21, 2005 4:47 am Post subject: Distinguishing b/w message types of messages put on Queue |
|
|
Novice
Joined: 21 Sep 2005 Posts: 10
|
Hi,
Is there a way to distinguish between message types of messages put on a queue.
For e.g.
If a Datagram message "m1" and a request message "m2" is put on queue Q1 then a receiver "R1", capable of identifying datagram messages , should retrive m1 and all datagram messages, and a receiver R2 , capable of identifying request messages should retrieve m2 and all request messages .
In short selection criteria to retrive a message should be message type.
Kindly suggest a solution.
Thanks and regards,
Lucky. |
|
Back to top |
|
 |
mqmhr |
Posted: Wed Sep 21, 2005 5:04 am Post subject: |
|
|
Centurion
Joined: 28 Dec 2004 Posts: 105
|
Message Type cannot be used as selection criterion for getting messages from a queue. The application could browse the messages and select them based on message type. |
|
Back to top |
|
 |
lookman |
Posted: Wed Sep 21, 2005 6:05 am Post subject: Distinguishing b/w message types of messages put on Queue |
|
|
Novice
Joined: 21 Sep 2005 Posts: 10
|
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Sep 21, 2005 3:22 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Better yet:
Put a process (application) that services your queue and distributes the messages according to type to different queues (1 per type)
Then you can have multiple instances of your application serving the type queue without running into performance problems due to browsing and selection etc...
Enjoy  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|