#2375 - disable JMX for Camel by default, add configuration setting for it. Also add docs to the settings and harmonize Camel settings to Akka standard.
This commit is contained in:
parent
a322b212e3
commit
8fe47fa291
3 changed files with 28 additions and 8 deletions
|
|
@ -28,6 +28,7 @@ private[camel] class DefaultCamel(val system: ActorSystem) extends Camel {
|
|||
|
||||
lazy val context: CamelContext = {
|
||||
val ctx = new DefaultCamelContext
|
||||
if (!settings.jmxStatistics) ctx.disableJMX()
|
||||
ctx.setName(system.name)
|
||||
ctx.setStreamCaching(true)
|
||||
ctx.addComponent("akka", new ActorComponent(this, system))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue