Author |
Message
|
Chris Dodson |
Posted: Tue May 08, 2007 8:59 am Post subject: Can receiving server control sending from remote queue mgr? |
|
|
Newbie
Joined: 08 May 2007 Posts: 3 Location: Heathrow
|
Hi all:
Have a scenario where a host application will keep generating messages for client systems (by writing to the remote queue for the client). Both host and client run queue managers. The messages will time expire, so if the client is not available, there will not be a pile-up of messages.
In the normal course of events (correct me if I am wrong), the arrival of a message on the transmit queue on the server will cause the sender channel on the server, to fire up the channel and transmit the message to the remote queue on the client (providing triggering enabled).
I don't want this behaviour, and want the client to be able to control the transmission of messages from the server. Is there any way of making this happen ? - so somehow preventing the server queue manager from transmitting the message to the local queue on the client unless the client indicates that this is wanted. Any ideas ?
Brgrds, Chris |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue May 08, 2007 9:08 am Post subject: |
|
|
Guest
|
A Requester-Sender channel pair should do this quite nicely. Take a look at the MQ V6 Intercommunications manual. |
|
Back to top |
|
 |
Chris Dodson |
Posted: Wed May 09, 2007 3:05 am Post subject: Can receiving server control sending from remote queue mgr? |
|
|
Newbie
Joined: 08 May 2007 Posts: 3 Location: Heathrow
|
Thanks Bruce.
Read the documentation (which is a bit brief) and ok so the requester can trigger the sender to start sending messages. Wondering when the sender stops sending messages. i.e. once there requester has triggered the sender is the sender going to send forever ?
Brgrds, Chris |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 09, 2007 3:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It probably stops once the disconnect interval expires.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Chris Dodson |
Posted: Wed May 09, 2007 3:19 am Post subject: Can receiving server control sending from remote queue mgr? |
|
|
Newbie
Joined: 08 May 2007 Posts: 3 Location: Heathrow
|
Presume this is all seamless to the API. i.e. the MQCONN from the requester triggers the sender. |
|
Back to top |
|
 |
Vitor |
Posted: Wed May 09, 2007 3:21 am Post subject: Re: Can receiving server control sending from remote queue m |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Chris Dodson wrote: |
Presume this is all seamless to the API. i.e. the MQCONN from the requester triggers the sender. |
The application is always insulated from the nuts and bolts of the setup. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|