camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gludington <gluding...@gmail.com>
Subject Re: RPC Type calls in rabbitmq
Date Mon, 31 Jul 2017 21:04:34 GMT
Following up, there is a mismatch in the exchanges.  The client fires off a
message that is received at the server with headers including:

breadcrumbId=ID-perry-57204-1501534382504-0-1
rabbitmq.CORRELATIONID=Camel-ID-perry-57204-1501534382504-0-3
rabbitmq.EXCHANGE_NAME=rpc
rabbitmq.REPLY_TO=amq.gen-D_UwBpDtdRzmZvW5N_Pe7g
rabbitmq.ROUTING_KEY=

and waits for a reply on the exchange ID-perry-57204-1501534382504-0-2
(incremented by the context generator).  The value is incremented once more
for the correlationId to be passed to the server.  However, this -02 value
indicating the exchange is never passed to the server, which then tries to
return it to a location the client is not waiting to receive, which results
in a timeout:

Caused by: org.apache.camel.ExchangeTimedOutException: The OUT message was
not received within: 20000 millis due reply message with correlationID:
Camel-ID-perry-57204-1501534382504-0-3 not received on destination:
amq.gen-D_UwBpDtdRzmZvW5N_Pe7g. Exchange[ID-perry-57204-1501534382504-0-2]

This exchange ID-perry-57204-1501534382504-0-2 is not published on any
headers or properties of the message; is there a proper way to communicate
this part of the reply location so that the server can respond to the proper
destination?

Thank you,
Greg



--
View this message in context: http://camel.465427.n5.nabble.com/RPC-Type-calls-in-rabbitmq-tp5808797p5808902.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message