xchange) {
> >>>> exchange.getIn().setHeader(“test”,”foo”)
> >>>> }
> >>>> Route
> >>>> From(jms:Sahara”)
> >>>> .log(LoggingLevel.INFO,"* Test ID: ${header.test}" )
> >>>>
te:
Hi Marci,
to add on what Alex said, I found it's always better to use either
getMessage() or to explicitly check if the exchange hasOut() instead of
assuming getIn() is always the right place to look for data coming out of a
component
Giovanni
-Messaggio originale-
Da: Alex D
f
> assuming getIn() is always the right place to look for data coming out of a
> component
>
> Giovanni
>
> -Messaggio originale-
> Da: Alex Dettinger
> Inviato: lunedì 17 febbraio 2020 11:04
> A: users@camel.apache.org
> Oggetto: Re: ProducerTemplate.request()
inger
Inviato: lunedì 17 febbraio 2020 11:04
A: users@camel.apache.org
Oggetto: Re: ProducerTemplate.request() not returning complete Exchange
Hi Marci,
I would say that from("jms:Sahara")... has MEP InOUt so In message with
header "foo", and OUT message with header "
amel apache org website
>> request*() methods
>>
>> The send*() methods use the default Message Exchange Pattern (InOnly,
>> InOut etc) as the endpoint. If you want to explicitly perform a
>> request/response (InOut) you can use the request*() methods instead of the
citly perform a
> request/response (InOut) you can use the request*() methods instead of the
> send*() methods.
>
> E.g. let’s invoke an endpoint and get the response:
>
>
>
> >Camel › Camel - Users › Camel - Users
> >kilidarria
>
> >Re: ProducerTemplate.requ
se
(InOut) you can use the request*() methods instead of the send*() methods.
E.g. let’s invoke an endpoint and get the response:
>Camel › Camel - Users › Camel - Users
>kilidarria
>Re: ProducerTemplate.request() not returning complete Exchange.
>‹ Previous Topic Nex
Hi
The new Processor(){ } in the request method of the producer template is
not for the reply message, but for preparing the message to send (eg the
input message).
On Tue, Jan 14, 2020 at 9:16 PM Wilken Marci J <
marci.j.wil...@dhsoha.state.or.us> wrote:
> Based on the documentation I was readi
Based on the documentation I was reading the ProducerTemplate.request(,
Processor) should return the Exchange information from the route that was
called. When I am running my test on this it is returning the body information
in the exchange.getOut().getBody() but the exchange.getOut().getHeade