I think you can write the invokation something like this: ${bean:orderService?method=getOrderType}
where orderService is the name of your bean and the method name is the method of your masking. so perhaps something like .log("${bean:orderService?method=getOrderType}") On Thu, Feb 23, 2017 at 10:28 AM, adondoni [via Camel] < ml-node+s465427n5794331...@n5.nabble.com> wrote: > Could you give me an example how can invoke a bean inside a log component? > > Thank Claus. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/Mask-password-using-log- > component-tp5794301p5794331.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301p5794333.html Sent from the Camel - Users mailing list archive at Nabble.com.