Re: Mask password using log component

2017-02-23 Thread adondoni
Could you give me an example how can invoke a bean inside a log component? Thank Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794331.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Mask password using log component

2017-02-23 Thread adondoni
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. My blueprint xml is: ... ... -- View this message in context: http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp579430

Re: Mask password using log component

2017-02-23 Thread adondoni
Hello Claus, thanks for your reply. My message body is a jsor RPC request like this { "method": "login", "id": "341182007", "params": { "username": "x", "password": "" }, "jsonrpc": "2.0" } -- View this message in context: http://camel.465427.n5.nabble.com/Mask-passw

Mask password using log component

2017-02-23 Thread adondoni
Hello, I've implemented a route that receive JSON-RPC request from cxfrs. Before processing message, trace body request as: My problem is that request could be contains password value. Question is how can I mask password value when log body message. Thank in advance -- View this message in