A blog about my daily tech ramblings.

Wednesday, 12 November 2014

Masking Sensitive Information using CXF Logging Interceptor

November 12, 2014 Posted by Sachin Handiekar , , , , , No comments
In this article we'll see how to mask/hide sensitive information when using CXF Logging IN/OUT Interceptor.

The solution was built to run on Apache Karaf / Fuse ESB, but a similar approach can be utilised to run the custom logging interceptor on other environments.

Alternative approach by parsing SOAP XML Payload : Source Code

Wednesday, 5 November 2014

Thursday, 23 October 2014

Wednesday, 27 August 2014

Wednesday, 13 August 2014

Wednesday, 5 February 2014

Using jRebel with Apache Karaf / Fuse ESB

February 05, 2014 Posted by Sachin Handiekar , , No comments
Let's see how to use jRebel in Fuse ESB/Apache Karaf.

1. Download jRebel

2. Unzip/Install jRebel and activate it using the jrebel-activation.jar which can be found at JREBEL_HOME/bin.

 3. Add the javaAgent (rebel.jar) & enable the camel plugin in karaf.sh (Mac/Linux) or karaf.bat (Windows) by adding the following line -
%JAVA_OPTS% -javaagent:/path/to/jrebel.jar -Drebel.camel_plugin=true

Note :  -Drebel.camel_plugin=true will enable the jRebel plugin for Apache Camel.