camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Mask password using log component
Date Thu, 23 Feb 2017 09:12:07 GMT
On Thu, Feb 23, 2017 at 10:05 AM, adondoni <andrea.dondoni@gmail.com> wrote:
> Hi,
> I've already thinks this solution.
> But if mask a password into a bean before log, I modify a message that
> continue in a route a lost password value.
>

You dont call the bean before, but call the bean from within the <log>
so it does NOT change your message.


> My blueprint xml is:
>
> ...
> <log message="request body: ${body}" />
> <to uri="direct:xxxx-Route" />
> ...
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794322.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message