camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Matèrne (jhm) <apa...@materne.de>
Subject AW: Enrich headers of message
Date Thu, 03 Nov 2016 17:28:53 GMT
Yes. 
A Message contains properties and IN and OUT parts consisting each of header
values and the body.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: lsantos [mailto:leandro.bueno@globo.com]
> Gesendet: Donnerstag, 3. November 2016 18:09
> An: users@camel.apache.org
> Betreff: Enrich headers of message
> 
> Hi there,
> 
> I will start off by describing what I am willing to accomplish.
> 
> I need to process a file line by line, pluck out a field from each file
> record, make two rest api calls, the first one to get a json web token,
> the second one use the token from the first api call in the header and
> return information that I will replace in the file record. In the end I
> just stream the modified file record to sftp transfer.
> 
> I was wondering if it would be possible to enrich the headers of the
> message by using information from the rest api calls without modifying
> the body of the message.
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/Enrich-
> headers-of-message-tp5789717.html
> Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message