[camel] branch master updated: CAMEL-12636: Polished camel-jmx
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new 4469fae CAMEL-12636: Polished camel-jmx 4469fae is described below commit 4469faeaf272368ee82bd11a1c7aee0892eaa1fe Author: Claus Ibsen AuthorDate: Wed Jul 11 09:31:52 2018 +0200 CAMEL-12636: Polished camel-jmx --- .../camel-jmx/src/main/docs/jmx-component.adoc | 28 +-- .../apache/camel/component/jmx/JMXEndpoint.java| 57 +++--- .../camel/component/jmx/JMXMonitorConsumer.java| 5 +- 3 files changed, 45 insertions(+), 45 deletions(-) diff --git a/components/camel-jmx/src/main/docs/jmx-component.adoc b/components/camel-jmx/src/main/docs/jmx-component.adoc index e180f6f..ecabd57 100644 --- a/components/camel-jmx/src/main/docs/jmx-component.adoc +++ b/components/camel-jmx/src/main/docs/jmx-component.adoc @@ -53,11 +53,11 @@ with the following path and query parameters: | Name | Description | Default | Type | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean | *format* (consumer) | Format for the message body. Either xml or raw. If xml, the notification is serialized to xml. If raw, then the raw java object is set as the body. | xml | String -| *granularityPeriod* (consumer) | monitor types only The frequency to poll the bean to check the monitor. | 1 | long -| *monitorType* (consumer) | monitor types only The type of monitor to create. One of string, gauge, counter. | | String +| *granularityPeriod* (consumer) | The frequency to poll the bean to check the monitor (monitor types only). | 1 | long +| *monitorType* (consumer) | The type of monitor to create. One of string, gauge, counter (monitor types only). | | String | *objectDomain* (consumer) | *Required* The domain for the mbean you're connecting to | | String | *objectName* (consumer) | The name key for the mbean you're connecting to. This value is mutually exclusive with the object properties that get passed. | | String -| *observedAttribute* (consumer) | monitor types only The attribute to observe for the monitor bean. | | String +| *observedAttribute* (consumer) | The attribute to observe for the monitor bean (monitor types only). | | String | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | | ExceptionHandler | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. | | ExchangePattern | *executorService* (advanced) | To use a custom shared thread pool for the consumers. By default each consume has their own thread-pool to process and route notifications. | | ExecutorService @@ -68,19 +68,19 @@ with the following path and query parameters: | *reconnectOnConnection Failure* (advanced) | If true the consumer will attempt to reconnect to the JMX server when any connection failure occurs. The consumer will attempt to re-establish the JMX connection every 'x' seconds until the connection is made-- where 'x' is the configured reconnectionDelay | false | boolean | *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean | *testConnectionOnStartup* (advanced) | If true the consumer will throw an exception if unable to establish the JMX connection upon startup. If false, the consumer will attempt to establish the JMX connection every 'x' seconds until the connection is made -- where 'x' is the configured reconnectionDelay | true | boolean -| *initThreshold* (counter) | counter monitor only Initial threshold for the monitor. The value must exceed this before notifications are fired. | | int -| *modulus* (counter) | counter monitor only The value at which the counter is reset to zero | | int -| *offset* (counter) | counter monitor only The amount to increment the threshold after it's been exceeded. | | int -| *differenceMode* (gauge) | counter gauge monitor only If true, then the value reported in the notification is the difference from the threshold as opposed to the value itself. | false | boolean -| *notifyHigh* (gauge) | gauge monitor only If true, the gauge will fire a notification when the high threshold is
[camel] branch master updated: CAMEL-12636: Polished camel-jmx
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new a550671 CAMEL-12636: Polished camel-jmx a550671 is described below commit a550671d51ff93679b469cf724d489525ad13bd3 Author: Claus Ibsen AuthorDate: Wed Jul 11 09:30:22 2018 +0200 CAMEL-12636: Polished camel-jmx --- .../camel-jmx/src/main/docs/jmx-component.adoc | 52 +- .../apache/camel/component/jmx/JMXEndpoint.java| 62 +++--- .../camel/component/jmx/CamelJmxConsumerTest.java | 4 +- 3 files changed, 60 insertions(+), 58 deletions(-) diff --git a/components/camel-jmx/src/main/docs/jmx-component.adoc b/components/camel-jmx/src/main/docs/jmx-component.adoc index 47517dc..e180f6f 100644 --- a/components/camel-jmx/src/main/docs/jmx-component.adoc +++ b/components/camel-jmx/src/main/docs/jmx-component.adoc @@ -52,35 +52,35 @@ with the following path and query parameters: |=== | Name | Description | Default | Type | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | boolean -| *format* (consumer) | URI Property: Format for the message body. Either xml or raw. If xml, the notification is serialized to xml. If raw, then the raw java object is set as the body. | xml | String -| *granularityPeriod* (consumer) | URI Property: monitor types only The frequency to poll the bean to check the monitor. | 1 | long -| *monitorType* (consumer) | URI Property: monitor types only The type of monitor to create. One of string, gauge, counter. | | String -| *objectDomain* (consumer) | *Required* URI Property: The domain for the mbean you're connecting to | | String -| *objectName* (consumer) | URI Property: The name key for the mbean you're connecting to. This value is mutually exclusive with the object properties that get passed. | | String -| *observedAttribute* (consumer) | URI Property: monitor types only The attribute to observe for the monitor bean. | | String +| *format* (consumer) | Format for the message body. Either xml or raw. If xml, the notification is serialized to xml. If raw, then the raw java object is set as the body. | xml | String +| *granularityPeriod* (consumer) | monitor types only The frequency to poll the bean to check the monitor. | 1 | long +| *monitorType* (consumer) | monitor types only The type of monitor to create. One of string, gauge, counter. | | String +| *objectDomain* (consumer) | *Required* The domain for the mbean you're connecting to | | String +| *objectName* (consumer) | The name key for the mbean you're connecting to. This value is mutually exclusive with the object properties that get passed. | | String +| *observedAttribute* (consumer) | monitor types only The attribute to observe for the monitor bean. | | String | *exceptionHandler* (consumer) | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this options is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | | ExceptionHandler | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer creates an exchange. | | ExchangePattern -| *executorService* (consumer) | To use a custom shared thread pool for the consumers. By default each consume has their own thread-pool to process and route notifications. | | ExecutorService -| *handback* (advanced) | URI Property: Value to handback to the listener when a notification is received. This value will be put in the message header with the key jmx.handback | | Object -| *notificationFilter* (advanced) | URI Property: Reference to a bean that implements the NotificationFilter. | | NotificationFilter -| *objectProperties* (advanced) | URI Property: properties for the object name. These values will be used if the objectName param is not set | | Map -| *reconnectDelay* (advanced) | URI Property: The number of seconds to wait before attempting to retry establishment of the initial connection or attempt to reconnect a lost connection | 10 | int -| *reconnectOnConnection Failure* (advanced) | URI Property: If true the consumer will attempt to reconnect to the JMX server when any connection failure occurs. The consumer will attempt to re-establish the JMX connection every 'x' seconds until the connection is made-- where 'x' is the configured reconnectionDelay | false | boolean +| *executorService*