1

I have not found any document or samples around implementing request-response using Apache qpid or even AMQP in general, is this supported and efficient solution? Any relevant info would be greatly appreciated.

Since i am using spring and spring-integration so any built in support there would be great to know.

Thank you

Mark1234
  • 589
  • 2
  • 8
  • 24

1 Answers1

1

I wonder which documentation have you read, but here is an info from Spring AMQP and from Spring Integration. And here is a Sample.

I'm not familiar with qpid, but looks like it can work as is on the Spring RabbitMQ implementation. At least in the most cases.

Zach Valenta
  • 1,783
  • 1
  • 20
  • 35
Artem Bilan
  • 113,505
  • 11
  • 91
  • 118
  • Thanks Artem, i was looking in qpid docs and did not found anything helpful. This seems very helpful, just a followup question, how do random clients specify their response queue and how are those gets managed (created and destroyed) at broker level? I am looking at thousands of clients sending some requests and waiting for response. – Mark1234 Oct 03 '14 at 15:02
  • It doesn't matter for Broker. Please, read more Spring AMQP Manual. `RabbitTemplate` takes about `anonymous auto-deleted` reply queues for each request. You can do that with `fixed` reply queue, of course. But in that case your received should take care about `correlationId` for the response. – Artem Bilan Oct 03 '14 at 18:26
  • Good "Thank you" is acceptance of an answer ;-). Glad to see, that I helped a bit! – Artem Bilan Oct 03 '14 at 20:08