-
1. Re: Publish-Subscribe how to get client(consumer) to send messages
mjabali Jan 3, 2012 12:42 PM (in response to arthurportas)I think what you are trying to do here is JMS Request/Reply. Have a look at http://fusesource.com/docs/broker/5.5/explore_jms/ExploreJMSReqReply.html as it will allow you to send a request and wait for a synchronous response.
If you need to aggregate several responses before send the message back to the producer then have a look at FUSE Mediation Router (based on Apache Camel) and its Aggregator component ( http://fusesource.com/docs/router/2.8/eip/MsgRout-Aggregator.html )
Hope this helps,
-Marcelo
-
2. Re: Publish-Subscribe how to get client(consumer) to send messages
arthurportas Jan 7, 2012 4:32 PM (in response to mjabali)Hi, thanks for the reply.
What i'm trying to develop is a scenario similar to the 'Who whantst to be a millionaire' and publish questions that clients can reply using publish-subscribe.
I don't think Request and Reply is suitable.
Perhaps, both sides, server and client acting as producer/consumer?