0

I am trying to write sender receiver program which will send request and wait for the reply until receiver process the request. But getting a "null" response when I call this method -convertSendAndReceive().

Pushparaj Dhole
  • 63
  • 1
  • 11

1 Answers1

2

Well, which reply are you going to get if your "receiver is not running"?

Anyway RabbitTemplate has replyTimeout option which is:

private static final long DEFAULT_REPLY_TIMEOUT = 5000;

yeah... by default.

Artem Bilan
  • 113,505
  • 11
  • 91
  • 118