[zeromq-dev] 0MQ 2.0 Model Question: Continued.

Steven McCoy steven.mccoy at miru.hk
Wed Oct 21 08:59:28 CEST 2009


2009/10/21 Martin Sustrik <sustrik at fastmq.com>

> If you are able to propose a sane API for your scenario, that would be
> the first step towards the solution. For example: How would you let the
> system know that the response corresponds to a particular request? Etc.
>
>
Consider the Tibco Rendezvous API call SendRequest it has the following
synchronous operation:

1.  Create a unique inbox address and a handler that listens to that
address.  Update message with a reply subject of the inbox address.
2.  Send outbound message.
3.  Block until the listener receives a reply or a set time limit expires.
4.  Return the reply message.


-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091021/bcfb32a2/attachment.htm>


More information about the zeromq-dev mailing list