Paul, it is exactly what I was looking for.
Is there a way to recover the examples in the link you pointed out?

To clarify better my model I should have written this link 
http://activemq.apache.org/how-should-i-implement-request-response-with-jms.html

In relation to the comment in the page
>//message to the server you would presumably want to associate the
correlation ID with this
>//message somehow...a Map works good

I followed this example and implemented it with an association between
request and response.

Johan, what do you mean with 'exclusive consumers'? I'm using queues, so I'm
sure that the message will be consumed only by one consumer (in opposition
to topics)

To tell the truth, I would prefer to implement a rejection, in other words,
change the broker behavior.
Anyway It is good to have a solution in the client side of the
implementation.

Thanks,
Simone




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Reject-queue-message-if-no-Consumer-is-available-tp4672396p4672437.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to