Using Camel 2.16.0, when a rest dsl endpoint hands an exchange off to seda
the RestBindingMarshalOnCompletion after route callback is being transferred
to the message copy on the seda queue. That causes the synchronous reply
from the rest endpoint to not marsal the response. That seems like very
inobvious behaviour. I've ended up protecting the rest endpoint by sending
to seda only within an onCompletion block.

Given that RestBindingMarshalOnCompletion checks to ensure it's running at
the correct point shouldn't the seda exchange copy also copy the callbacks
instead of handing them over?

cheers
Rohan



--
View this message in context: 
http://camel.465427.n5.nabble.com/Unexpected-serialisation-behaviour-of-rest-dsl-consumer-using-seda-tp5776853.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to