Author |
Message
|
prakashv |
Posted: Mon Jan 29, 2007 2:18 pm Post subject: Multiple Client Application Connecting to Single Local Queue |
|
|
Newbie
Joined: 22 Jan 2007 Posts: 8
|
How to configure local queue to consume messages from multiple client applications? I have a queue manager A with a defined server connection channel B and a local queue C. Three batch applications will interact with this local queue through server connection channel B and consume messages the same messages and process the data differently. After all the client applications has consumed messages, the messages in the queue must go away.
Please let me know.
Thanks, Prakash |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 29, 2007 2:40 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Queues don't consume messages.
Applications consume messages.
Applications shouldn't share queues. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prakashv |
Posted: Mon Jan 29, 2007 2:52 pm Post subject: |
|
|
Newbie
Joined: 22 Jan 2007 Posts: 8
|
Thanks Jeff for quick reply. What's the best way so that my 3 applications will consume all messages from this local queue. Also, these three batch applications will interact with the queue in different times.
Thanks for your help.
Prakash |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 29, 2007 3:04 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You should have different queues for each application. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashoon |
Posted: Mon Jan 29, 2007 3:07 pm Post subject: not sure I follow |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
but it sounds like the same message needs to goto 3 different applications for different processing...
if that's the case I'd suggest a couple options
- pub/sub (if you can change the code on the producing and consuming apps)
- distribution lists - if you can change the code of producing apps
- mirrorq (or something similar) to copy the input message into 3 seperate queues for the consuming apps.
It's very difficult to have 3 different applications read the same message. |
|
Back to top |
|
 |
|