camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r871680 - in /websites/production/camel/content: cache/main.pageCache camel-2120-release.html camel-jmx.html
Date Mon, 29 Jul 2013 09:20:05 GMT
Author: buildbot
Date: Mon Jul 29 09:20:05 2013
New Revision: 871680

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/camel-2120-release.html
    websites/production/camel/content/camel-jmx.html

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/camel-2120-release.html
==============================================================================
--- websites/production/camel/content/camel-2120-release.html (original)
+++ websites/production/camel/content/camel-2120-release.html Mon Jul 29 09:20:05 2013
@@ -94,7 +94,7 @@
 
 <p>Welcome to the 2.12.0 release which approx XXX issues resolved (new features, improvements
and bug fixes such as...)</p>
 
-<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint Annotations">Endpoint
Annotations</a> along with automatically created HTML documentation for the endpoint
parameters; this makes it easier for component developers to add a few refactoring-safe annotations
to their Endpoint or Consumer implementations and, (along with javadoc comments on the field
or setter method), get nice user documentation on how to use the endpoint for free.</li><li><a
shape="rect" href="componentconfiguration.html" title="ComponentConfiguration">ComponentConfiguration</a>
API provides a handy API for tools developers to introspect on a Component to find all the
possible parameters, their types and any extra annotations (like Bean Validation Annotations)
to be able to create/edit endpoints or URI strings so that tools can generate nicer UIs for
configuring endpoints than just letting folks edit Strings.</li><li><a shape="rect"
href="endpointcompleter.html" title="EndpointCompleter">Endpoi
 ntCompleter</a> API provides a hook so that command line tools (like <a shape="rect"
class="external-link" href="http://karaf.apache.org/manual/latest-2.3.x/users-guide/using-console.html">Karaf's
shell</a>), IDEs and web tools can get (bash tab like) auto-completion on endpoint paths
(such as file or directory names, message queue names, database table names) when creating
or using new endpoints</li><li>Reduced stack-frames in use during routing, that
also makes Camel's stack traces being logged much less verbose. This also allows people to
easier debug the internals of Camel as less <tt>AsyncCallback</tt> callbacks are
in use during routing.</li><li>Easy to use <a shape="rect" href="message-history.html"
title="Message History">Message History</a> out of the box. And included message
history as "route stack-trace" when exceptions logged by <a shape="rect" href="error-handler.html"
title="Error Handler">Error Handler</a> to make it easier for end users to spot where
the exception o
 ccurred.</li><li><a shape="rect" href="spring-web-services.html" title="Spring
Web Services">Spring Web Services</a> now supports setting/receiving SOAP headers
more easily using a header on the Camel <a shape="rect" href="message.html" title="Message">Message</a>.</li><li>Evaluating
<a shape="rect" href="groovy.html" title="Groovy">Groovy</a> expressions is faster
as we cache the compiled scripts.</li><li>Added <tt>base64</tt> option
to <a shape="rect" href="shiro-security.html" title="Shiro Security">Shiro Security</a>
to allow transferring security token over <a shape="rect" href="jms.html" title="JMS">JMS</a>
and other transports as base64 encoded representation.</li><li>Made it easier
to use <a shape="rect" href="shiro-security.html" title="Shiro Security">Shiro Security</a>
as the credentials can be provided in headers, when sending a message to a secured route.</li><li><a
shape="rect" href="bindy.html" title="Bindy">Bindy</a> now supports enums.</li><li>Added
new <a shape="re
 ct" href="backlogdebugger.html" title="BacklogDebugger">BacklogDebugger</a> to perform
live debugging of messages during routing. The <a shape="rect" href="backlogdebugger.html"
title="BacklogDebugger">BacklogDebugger</a> has JMX API allows tooling to control
the debugger.</li><li>While using the <a shape="rect" class="external-link"
href="http://xircles.codehaus.org/projects/jackson" rel="nofollow">Jackson library</a>
through the <a shape="rect" href="json.html" title="JSON">JSON</a> Dataformat
there's now a <tt>jsonView</tt> attribute you could make use of directly inside
the <a shape="rect" href="dsl.html" title="DSL">DSL</a> itself.</li><li><a
shape="rect" href="smpp.html" title="SMPP">SMPP</a> now supports optional parameters
in all commands where they are possible.</li><li><a shape="rect" href="jdbc.html"
title="JDBC">JDBC</a> now supports named parameters.</li><li>Added timeout
support for <a shape="rect" href="direct.html" title="Direct">Direct</a> producers
to wait for cons
 umer to become active.</li><li>Added <tt>stats</tt> action to <a
shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> to easily get
performance statics in a single XML message.</li><li>Added support for request
timeout on <a shape="rect" href="netty.html" title="Netty">Netty</a> producer,
and to configure logging level on <a shape="rect" href="netty.html" title="Netty">Netty</a>
consumer to be less noisy for ChannelClosedException which can flood the logs when client
disconnects abruptly.</li><li><a shape="rect" href="springbatch.html" title="SpringBatch">Spring
Batch</a> component producer now returns the <tt>JobExecution</tt> instance
as the output message. Users can use the <tt>JobExecution</tt> instance to perform
some operations using the Spring Batch API directly.</li><li>Added support for
NULL values in <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a>
with named parameters.</li><li>Optimized <a shape="rect" href="jetty.html"
title="Jett
 y">Jetty</a> streaming responses in non-chunked mode; and as well using buffer sizes
based on <tt>HttpServletResponse.getBufferSize()</tt> instead of fixed size of
4kb.</li><li>Added <tt>greedy</tt> option to <a shape="rect" href="polling-consumer.html"
title="Polling Consumer">scheduled polling consumer</a>.</li><li>Added
support for accessing the length field on Java arrays in <a shape="rect" href="simple.html"
title="Simple">Simple</a> language.</li><li>Added support for using JAXB
annotations with Camel's Jackson <a shape="rect" href="json.html" title="JSON">JSON</a>
component.</li><li>Added the ability for <a shape="rect" href="bindy.html"
title="Bindy">Bindy</a> to skip content when parsing fixed-length records.</li><li><a
shape="rect" href="mongodb.html" title="MongoDB">MongoDB</a> now supports aggregation
queries.</li><li><a shape="rect" href="netty.html" title="Netty">Netty</a>
allows to use shared Netty boss and worker thread pools.</li><li>The <a shape="rect"
href="camel-
 maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a>
for component and data format now packages as OSGi bundles out of the box.</li><li>Easier
<a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>
configuration using <tt>StreamCachingStrategy</tt>. Also allows spool directory
per <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a>
instead of shared per JVM. And insight at runtime using JMX management. As well allowing to
plugin 3rd party implementations.</li><li>Improved <a shape="rect" href="netty.html"
title="Netty">Netty</a> to be able to join an UDP multicast group.</li><li>Using
Camel <a shape="rect" href="spring.html" title="Spring">Spring</a> is now setting
up Camel routes later in the process allow Spring to complete all of its dependency injection,
before Camel <tt>RouteBuilder</tt> instances is configured. This allows to safely
use Spring dependency injection in these <tt>RouteBuilder</tt
 > classes.</li><li>Services in a <a shape="rect" href="camelcontext.html"
title="CamelContext">CamelContext</a> which can only be enlisted once (eg it similar
to a static in a JVM) has simpler and fixed MBean names in JMX.</li><li><a
shape="rect" href="sql-component.html" title="SQL Component">JDBC based aggregation repository</a>
for the <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregate</a>
EIP now supports optimistic locking, allows clustered Camel applications to use a shared database
for the aggregation repository.</li><li><a shape="rect" href="recipient-list.html"
title="Recipient List">Recipient List</a> stores a property (<tt>Exchange.RECIPIENT_LIST_ENDPOINT</tt>)
on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> with
the <span class="error">[URI]</span> of the <a shape="rect" href="endpoint.html"
title="Endpoint">Endpoint</a> the message was sent to.</li></ul>
+<ul><li><a shape="rect" href="endpoint-annotations.html" title="Endpoint Annotations">Endpoint
Annotations</a> along with automatically created HTML documentation for the endpoint
parameters; this makes it easier for component developers to add a few refactoring-safe annotations
to their Endpoint or Consumer implementations and, (along with javadoc comments on the field
or setter method), get nice user documentation on how to use the endpoint for free.</li><li><a
shape="rect" href="componentconfiguration.html" title="ComponentConfiguration">ComponentConfiguration</a>
API provides a handy API for tools developers to introspect on a Component to find all the
possible parameters, their types and any extra annotations (like Bean Validation Annotations)
to be able to create/edit endpoints or URI strings so that tools can generate nicer UIs for
configuring endpoints than just letting folks edit Strings.</li><li><a shape="rect"
href="endpointcompleter.html" title="EndpointCompleter">Endpoi
 ntCompleter</a> API provides a hook so that command line tools (like <a shape="rect"
class="external-link" href="http://karaf.apache.org/manual/latest-2.3.x/users-guide/using-console.html">Karaf's
shell</a>), IDEs and web tools can get (bash tab like) auto-completion on endpoint paths
(such as file or directory names, message queue names, database table names) when creating
or using new endpoints</li><li>Reduced stack-frames in use during routing, that
also makes Camel's stack traces being logged much less verbose. This also allows people to
easier debug the internals of Camel as less <tt>AsyncCallback</tt> callbacks are
in use during routing.</li><li>Easy to use <a shape="rect" href="message-history.html"
title="Message History">Message History</a> out of the box. And included message
history as "route stack-trace" when exceptions logged by <a shape="rect" href="error-handler.html"
title="Error Handler">Error Handler</a> to make it easier for end users to spot where
the exception o
 ccurred.</li><li><a shape="rect" href="spring-web-services.html" title="Spring
Web Services">Spring Web Services</a> now supports setting/receiving SOAP headers
more easily using a header on the Camel <a shape="rect" href="message.html" title="Message">Message</a>.</li><li>Evaluating
<a shape="rect" href="groovy.html" title="Groovy">Groovy</a> expressions is faster
as we cache the compiled scripts.</li><li>Added <tt>base64</tt> option
to <a shape="rect" href="shiro-security.html" title="Shiro Security">Shiro Security</a>
to allow transferring security token over <a shape="rect" href="jms.html" title="JMS">JMS</a>
and other transports as base64 encoded representation.</li><li>Made it easier
to use <a shape="rect" href="shiro-security.html" title="Shiro Security">Shiro Security</a>
as the credentials can be provided in headers, when sending a message to a secured route.</li><li><a
shape="rect" href="bindy.html" title="Bindy">Bindy</a> now supports enums.</li><li>Added
new <a shape="re
 ct" href="backlogdebugger.html" title="BacklogDebugger">BacklogDebugger</a> to perform
live debugging of messages during routing. The <a shape="rect" href="backlogdebugger.html"
title="BacklogDebugger">BacklogDebugger</a> has JMX API allows tooling to control
the debugger.</li><li>While using the <a shape="rect" class="external-link"
href="http://xircles.codehaus.org/projects/jackson" rel="nofollow">Jackson library</a>
through the <a shape="rect" href="json.html" title="JSON">JSON</a> Dataformat
there's now a <tt>jsonView</tt> attribute you could make use of directly inside
the <a shape="rect" href="dsl.html" title="DSL">DSL</a> itself.</li><li><a
shape="rect" href="smpp.html" title="SMPP">SMPP</a> now supports optional parameters
in all commands where they are possible.</li><li><a shape="rect" href="jdbc.html"
title="JDBC">JDBC</a> now supports named parameters.</li><li>Added timeout
support for <a shape="rect" href="direct.html" title="Direct">Direct</a> producers
to wait for cons
 umer to become active.</li><li>Added <tt>stats</tt> action to <a
shape="rect" href="controlbus.html" title="ControlBus">ControlBus</a> to easily get
performance statics in a single XML message.</li><li>Added support for request
timeout on <a shape="rect" href="netty.html" title="Netty">Netty</a> producer,
and to configure logging level on <a shape="rect" href="netty.html" title="Netty">Netty</a>
consumer to be less noisy for ChannelClosedException which can flood the logs when client
disconnects abruptly.</li><li><a shape="rect" href="springbatch.html" title="SpringBatch">Spring
Batch</a> component producer now returns the <tt>JobExecution</tt> instance
as the output message. Users can use the <tt>JobExecution</tt> instance to perform
some operations using the Spring Batch API directly.</li><li>Added support for
NULL values in <a shape="rect" href="sql-component.html" title="SQL Component">SQL</a>
with named parameters.</li><li>Optimized <a shape="rect" href="jetty.html"
title="Jett
 y">Jetty</a> streaming responses in non-chunked mode; and as well using buffer sizes
based on <tt>HttpServletResponse.getBufferSize()</tt> instead of fixed size of
4kb.</li><li>Added <tt>greedy</tt> option to <a shape="rect" href="polling-consumer.html"
title="Polling Consumer">scheduled polling consumer</a>.</li><li>Added
support for accessing the length field on Java arrays in <a shape="rect" href="simple.html"
title="Simple">Simple</a> language.</li><li>Added support for using JAXB
annotations with Camel's Jackson <a shape="rect" href="json.html" title="JSON">JSON</a>
component.</li><li>Added the ability for <a shape="rect" href="bindy.html"
title="Bindy">Bindy</a> to skip content when parsing fixed-length records.</li><li><a
shape="rect" href="mongodb.html" title="MongoDB">MongoDB</a> now supports aggregation
queries.</li><li><a shape="rect" href="netty.html" title="Netty">Netty</a>
allows to use shared Netty boss and worker thread pools.</li><li>The <a shape="rect"
href="camel-
 maven-archetypes.html" title="Camel Maven Archetypes">Camel Maven Archetypes</a>
for component and data format now packages as OSGi bundles out of the box.</li><li>Easier
<a shape="rect" href="stream-caching.html" title="Stream caching">Stream caching</a>
configuration using <tt>StreamCachingStrategy</tt>. Also allows spool directory
per <a shape="rect" href="camelcontext.html" title="CamelContext">CamelContext</a>
instead of shared per JVM. And insight at runtime using JMX management. As well allowing to
plugin 3rd party implementations.</li><li>Improved <a shape="rect" href="netty.html"
title="Netty">Netty</a> to be able to join an UDP multicast group.</li><li>Using
Camel <a shape="rect" href="spring.html" title="Spring">Spring</a> is now setting
up Camel routes later in the process allow Spring to complete all of its dependency injection,
before Camel <tt>RouteBuilder</tt> instances is configured. This allows to safely
use Spring dependency injection in these <tt>RouteBuilder</tt
 > classes.</li><li>Services in a <a shape="rect" href="camelcontext.html"
title="CamelContext">CamelContext</a> which can only be enlisted once (eg it similar
to a static in a JVM) has simpler and fixed MBean names in JMX.</li><li><a
shape="rect" href="sql-component.html" title="SQL Component">JDBC based aggregation repository</a>
for the <a shape="rect" href="aggregator2.html" title="Aggregator2">Aggregate</a>
EIP now supports optimistic locking, allows clustered Camel applications to use a shared database
for the aggregation repository.</li><li><a shape="rect" href="recipient-list.html"
title="Recipient List">Recipient List</a> stores a property (<tt>Exchange.RECIPIENT_LIST_ENDPOINT</tt>)
on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a> with
the <a shape="rect" href="uris.html" title="URIs">URIs</a> of the <a shape="rect"
href="endpoint.html" title="Endpoint">Endpoint</a> the message was sent to.</li><li>Added
<tt>sanitize</tt> option to <a shape="rect" hr
 ef="camel-jmx.html" title="Camel JMX">Camel JMX</a> to hide sensitive information
such as passwords.</li></ul>
 
 
 <h3><a shape="rect" name="Camel2.12.0Release-FixedIssues"></a>Fixed Issues</h3>

Modified: websites/production/camel/content/camel-jmx.html
==============================================================================
--- websites/production/camel/content/camel-jmx.html (original)
+++ websites/production/camel/content/camel-jmx.html Mon Jul 29 09:20:05 2013
@@ -93,7 +93,7 @@ Camel also provides a <a shape="rect" hr
 <h3><a shape="rect" name="CamelJMX-ActivatingJMXinCamel"></a>Activating
JMX in Camel</h3>
 
 <div>
-<ul><li><a shape="rect" href="#CamelJMX-CamelJMX">Camel JMX</a></li><ul><li><a
shape="rect" href="#CamelJMX-ActivatingJMXinCamel">Activating JMX in Camel</a></li><ul><li><a
shape="rect" href="#CamelJMX-UsingJMXtomanageApacheCamel">Using JMX to manage Apache Camel</a></li><li><a
shape="rect" href="#CamelJMX-DisablingJMXinstrumentationagentinCamel">Disabling JMX instrumentation
agent in Camel</a></li><li><a shape="rect" href="#CamelJMX-LocatingaMBeanServerintheJavaVM">Locating
a MBeanServer in the Java VM</a></li><li><a shape="rect" href="#CamelJMX-CreatingJMXRMIConnectorServer">Creating
JMX RMI Connector Server</a></li><li><a shape="rect" href="#CamelJMX-JMXServiceURL">JMX
Service URL</a></li><li><a shape="rect" href="#CamelJMX-TheSystemPropertiesforCamelJMXsupport">The
SystemProperties for Camel JMX support</a></li><li><a shape="rect" href="#CamelJMX-HowtouseauthenticationwithJMX">How
to use authentication with JMX</a></li><li><a shape="rect" href="#CamelJMX-JMXinsideanApplicationSe
 rver">JMX inside an Application Server</a></li><ul><li><a shape="rect"
href="#CamelJMX-Tomcat6">Tomcat 6</a></li><li><a shape="rect" href="#CamelJMX-JBossAS4">JBoss
AS 4</a></li><li><a shape="rect" href="#CamelJMX-WebSphere">WebSphere</a></li><li><a
shape="rect" href="#CamelJMX-OracleOC4j">Oracle OC4j</a></li></ul><li><a
shape="rect" href="#CamelJMX-AdvancedJMXConfiguration">Advanced JMX Configuration</a></li><li><a
shape="rect" href="#CamelJMX-Example%3A">Example:</a></li><li><a shape="rect"
href="#CamelJMX-jmxAgentPropertiesReference">jmxAgent Properties Reference</a></li><li><a
shape="rect" href="#CamelJMX-Configuringwhethertoregistermbeansalways%2Cfornewroutesorjustbydefault">Configuring
whether to register mbeans always, for new routes or just by default</a></li></ul><li><a
shape="rect" href="#CamelJMX-MonitoringCamelusingJMX">Monitoring Camel using JMX</a></li><ul><li><a
shape="rect" href="#CamelJMX-UsingJConsoletomonitorCamel">Using JConsole to monitor Camel</a></li><li><a
sh
 ape="rect" href="#CamelJMX-Whichendpointsareregistered">Which endpoints are registered</a></li><li><a
shape="rect" href="#CamelJMX-Whichprocessorsareregistered">Which processors are registered</a></li><li><a
shape="rect" href="#CamelJMX-HowtousetheJMXNotificationListenertolistenthecamelevents%3F">How
to use the JMX NotificationListener to listen the camel events?</a></li><li><a
shape="rect" href="#CamelJMX-UsingtheTracermbeantogetfinegrainedtracing">Using the Tracer
mbean to get fine grained tracing</a></li></ul><li><a shape="rect"
href="#CamelJMX-UsingJMXforyourownCamelCode">Using JMX for your own Camel Code</a></li><ul><li><a
shape="rect" href="#CamelJMX-RegisteringyourownManagedEndpoints">Registering your own Managed
Endpoints</a></li><li><a shape="rect" href="#CamelJMX-ProgrammingyourownManagedServices">Programming
your own Managed Services</a></li><li><a shape="rect" href="#CamelJMX-ManagementNamingStrategy">ManagementNamingStrategy</a></li><li><a
shape="rect" href="#CamelJMX-M
 anagementnamingpattern">Management naming pattern</a></li><li><a
shape="rect" href="#CamelJMX-ManagementStrategy">ManagementStrategy</a></li><li><a
shape="rect" href="#CamelJMX-Configuringlevelofgranularityforperformancestatistics">Configuring
level of granularity for performance statistics</a></li></ul><li><a
shape="rect" href="#CamelJMX-SeeAlso">See Also</a></li></ul></ul></div>
+<ul><li><a shape="rect" href="#CamelJMX-CamelJMX">Camel JMX</a></li><ul><li><a
shape="rect" href="#CamelJMX-ActivatingJMXinCamel">Activating JMX in Camel</a></li><ul><li><a
shape="rect" href="#CamelJMX-UsingJMXtomanageApacheCamel">Using JMX to manage Apache Camel</a></li><li><a
shape="rect" href="#CamelJMX-DisablingJMXinstrumentationagentinCamel">Disabling JMX instrumentation
agent in Camel</a></li><li><a shape="rect" href="#CamelJMX-LocatingaMBeanServerintheJavaVM">Locating
a MBeanServer in the Java VM</a></li><li><a shape="rect" href="#CamelJMX-CreatingJMXRMIConnectorServer">Creating
JMX RMI Connector Server</a></li><li><a shape="rect" href="#CamelJMX-JMXServiceURL">JMX
Service URL</a></li><li><a shape="rect" href="#CamelJMX-TheSystemPropertiesforCamelJMXsupport">The
SystemProperties for Camel JMX support</a></li><li><a shape="rect" href="#CamelJMX-HowtouseauthenticationwithJMX">How
to use authentication with JMX</a></li><li><a shape="rect" href="#CamelJMX-JMXinsideanApplicationSe
 rver">JMX inside an Application Server</a></li><ul><li><a shape="rect"
href="#CamelJMX-Tomcat6">Tomcat 6</a></li><li><a shape="rect" href="#CamelJMX-JBossAS4">JBoss
AS 4</a></li><li><a shape="rect" href="#CamelJMX-WebSphere">WebSphere</a></li><li><a
shape="rect" href="#CamelJMX-OracleOC4j">Oracle OC4j</a></li></ul><li><a
shape="rect" href="#CamelJMX-AdvancedJMXConfiguration">Advanced JMX Configuration</a></li><li><a
shape="rect" href="#CamelJMX-Example%3A">Example:</a></li><li><a shape="rect"
href="#CamelJMX-jmxAgentPropertiesReference">jmxAgent Properties Reference</a></li><li><a
shape="rect" href="#CamelJMX-Configuringwhethertoregistermbeansalways%2Cfornewroutesorjustbydefault">Configuring
whether to register mbeans always, for new routes or just by default</a></li></ul><li><a
shape="rect" href="#CamelJMX-MonitoringCamelusingJMX">Monitoring Camel using JMX</a></li><ul><li><a
shape="rect" href="#CamelJMX-UsingJConsoletomonitorCamel">Using JConsole to monitor Camel</a></li><li><a
sh
 ape="rect" href="#CamelJMX-Whichendpointsareregistered">Which endpoints are registered</a></li><li><a
shape="rect" href="#CamelJMX-Whichprocessorsareregistered">Which processors are registered</a></li><li><a
shape="rect" href="#CamelJMX-HowtousetheJMXNotificationListenertolistenthecamelevents%3F">How
to use the JMX NotificationListener to listen the camel events?</a></li><li><a
shape="rect" href="#CamelJMX-UsingtheTracermbeantogetfinegrainedtracing">Using the Tracer
mbean to get fine grained tracing</a></li></ul><li><a shape="rect"
href="#CamelJMX-UsingJMXforyourownCamelCode">Using JMX for your own Camel Code</a></li><ul><li><a
shape="rect" href="#CamelJMX-RegisteringyourownManagedEndpoints">Registering your own Managed
Endpoints</a></li><li><a shape="rect" href="#CamelJMX-ProgrammingyourownManagedServices">Programming
your own Managed Services</a></li><li><a shape="rect" href="#CamelJMX-ManagementNamingStrategy">ManagementNamingStrategy</a></li><li><a
shape="rect" href="#CamelJMX-M
 anagementnamingpattern">Management naming pattern</a></li><li><a
shape="rect" href="#CamelJMX-ManagementStrategy">ManagementStrategy</a></li><li><a
shape="rect" href="#CamelJMX-Configuringlevelofgranularityforperformancestatistics">Configuring
level of granularity for performance statistics</a></li></ul><li><a
shape="rect" href="#CamelJMX-Hidingsensitiveinformation">Hiding sensitive information</a></li><li><a
shape="rect" href="#CamelJMX-SeeAlso">See Also</a></li></ul></ul></div>
 
 <div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1"><b>Spring
JAR dependency, required for Camel 2.8 or older</b><br clear="none"><tt>spring-context.jar</tt>,
<tt>spring-aop.jar</tt>, <tt>spring-beans.jar</tt>, and <tt>spring-core.jar</tt>
are needed on the classpath by Camel to be able to use JMX instrumentation. If these .jars
are not on the classpath, Camel will fallback to non JMX mode. This situation is logged at
<tt>WARN</tt> level using logger name <tt>org.apache.camel.impl.DefaultCamelContext</tt>.
 
@@ -670,6 +670,35 @@ context.getManagementNameStrategy().setN
 ]]></script>
 </div></div>
 
+
+<h3><a shape="rect" name="CamelJMX-Hidingsensitiveinformation"></a>Hiding
sensitive information</h3>
+<p><b>Available as of Camel 2.12</b></p>
+
+<p>By default Camel enlist MBeans in JMX such as endpoints configured using <a shape="rect"
href="uris.html" title="URIs">URIs</a>. In these configuration there may be sensitive
information such as passwords. <br clear="none">
+These information can be hidden by enabling the sanitize option as shown below:</p>
+
+<p>Using Java DSL you turn this on by:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+  // only enable routes when Camel starts
+  context.getManagementStrategy().getManagementAgent().setSanitize(true);
+]]></script>
+</div></div>
+
+<p>And from Spring DSL you do:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+    &lt;camelContext id="camel" xmlns="http://camel.apache.org/schema/spring"&gt;
+        &lt;jmxAgent id="agent" sanitize="true"/&gt;
+     ...
+    &lt;/camelContext&gt;
+]]></script>
+</div></div>
+
+<p>This will mask <span class="error">[URI]</span>s having options such
as password and passphrase, and use <tt>xxxxxx</tt> as the replacement value.</p>
+
+<div class="panelMacro"><table class="infoMacro"><colgroup span="1"><col
span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1"
valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/information.gif"
width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Setting
sanitize=true will only mask password and passphrase configured in <a shape="rect" href="uris.html"
title="URIs">URIs</a>. If any custom Camel <a shape="rect" href="component.html"
title="Component">Component</a> exposes custom JMX attributes then these attributes
is shown <em>as is</em>.</td></tr></table></div>
+
 <h3><a shape="rect" name="CamelJMX-SeeAlso"></a>See Also</h3>
 
 <ul class="alternate" type="square"><li><a shape="rect" href="management-example.html"
title="Management Example">Management Example</a></li><li><a shape="rect"
href="why-is-my-processor-not-showing-up-in-jconsole.html" title="Why is my processor not
showing up in JConsole">Why is my processor not showing up in JConsole</a></li></ul>



Mime
View raw message