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().
Asked
Active
Viewed 3,113 times
1 Answers
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
-
Glad to hear! So, the best way to go is to accept my answer – Artem Bilan Jun 23 '16 at 13:14
-
yes i have modified the default REPLY_TIMEOUT to 60000 and it is waiting for response. – Pushparaj Dhole Jun 23 '16 at 13:37
-
could you please help in this question as well http://stackoverflow.com/questions/37988739/not-able-to-process-response-received-from-template-convertsendandreceive – Pushparaj Dhole Jun 23 '16 at 13:39