Posted: Fri Jan 05, 2007 9:07 pm Post subject: A clarification regarding reguest reply.
Novice
Joined: 07 Nov 2006 Posts: 16
hi,
i need a clarification regarding reguest-reply model.
i need to develop an application in which a program sends a request from one server to queue in qmanager of Mqserver and another program from different server should fetch the request from the queue automatically as soon as request is placed in queue and should reply with in a fixed time.
plz suggest me whether, a point to point model Or Publish-Subcribe model would fullfill my requirement.plz tell me which model should i use to develop my application.
The basic request/reply pattern is a point-to-point connection.
There is a way to implement request/reply in pub/sub. But you have to remember that pub/sub means that senders have no idea about receivers at all (publishers don't know or care if there are zero, one, or many subscribers).
The implementation with request/reply in pub/sub uses a Reply To Topic instead of a Reply To Queue. And there isn't anything built-in to support this notion. What would happen is that the requestor would publish a message on a topic (which was the request topic). Some server application, if there was one, would do something to figure out what the reply to topic was and then publish a message (which is the reply) on that topic. _________________ I am *not* the model of the modern major general.
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