Re: FluentProducerTemplate.send() with ExhangePattern

2017-12-12 Thread Balazs Szeti
Hi, Thanks for the quick response. request() returns the body Object, but having a second look at the source I see that this works: .request(Exchange.class) returns the whole Exchange. Thanks, Balazs On Tue, Dec 12, 2017 at 12:03 PM, Claus Ibsen wrote: > See the javadoc > > Send is in only >

Re: FluentProducerTemplate.send() with ExhangePattern

2017-12-12 Thread Claus Ibsen
See the javadoc Send is in only Request is in out Short mail as i type on ipad tir. 12. dec. 2017 kl. 17.22 skrev Balazs Szeti : > Hi Camel Users, > > Is there a simple way to set the ExhangePattern with > FluentProducerTemplate? > > I tried to send an InOut exchange to a direct endpoint in a u

FluentProducerTemplate.send() with ExhangePattern

2017-12-12 Thread Balazs Szeti
Hi Camel Users, Is there a simple way to set the ExhangePattern with FluentProducerTemplate? I tried to send an InOut exchange to a direct endpoint in a unit test, but couldn't find a better way than building the Exchange object first and use withExchange(). It would be nice to have something li