Joe, Dejan,

Thanks for the information.  This will be of great help to me.



On Mon, Aug 4, 2008 at 2:21 PM, Joe Fernandez <
[EMAIL PROTECTED]> wrote:

>
> Yes, this is possible with JMS and is referred to as the request/reply
> pattern. Check out the following, which also has some sample code.
>
> http://www.enterpriseintegrationpatterns.com/RequestReplyJmsExample.html
>
> You may also want to look at the QueueRequestor and TopicRequestor JMS
> helper classes.
>
> Joe
> http://www.ttmsolutions.com - get a free ActiveMQ user guide
>
>
>
> elihusmails wrote:
> >
> > From what I understand about JMS, I think the following scenario is
> > possible, just not sure how to configure it.  I am trying to figure out
> if
> > I
> > can send set up ActiveMQ to perform the following:
> >
> > 1. Producer sends message to JMS Topic/Queue
> > 2. Consumer gets the message from the Topic/Queue
> > 3. Consumer acts on the message and generates a response
> > 4. Consumer sends response back to JMS Topic/Queue (can be same or
> > difference Topic/Queue)
> > 5. Producer receives response and acts upon the response.
> >
> > This would have to be as close to synchronous as possible, since I don't
> > want any more latency than necessary.  Also, the producer might send
> > message
> > #2 before it gets the response for message#1.
> >
> > Basically I am looking to replace some web services with JMS.
> >
> > Thanks....
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/producer-send-message-to-consumer-and-get-a-response-tp18816432p18816826.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Reply via email to