Interface JMXEndpointBuilderFactory.JMXEndpointBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    Enclosing interface:
    JMXEndpointBuilderFactory

    public static interface JMXEndpointBuilderFactory.JMXEndpointBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint for the JMX component.
    • Method Detail

      • bridgeErrorHandler

        default JMXEndpointBuilderFactory.JMXEndpointBuilder bridgeErrorHandler​(boolean bridgeErrorHandler)
        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. The option is a: boolean type. Default: false Group: consumer
      • bridgeErrorHandler

        default JMXEndpointBuilderFactory.JMXEndpointBuilder bridgeErrorHandler​(String bridgeErrorHandler)
        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. The option will be converted to a boolean type. Default: false Group: consumer
      • format

        default JMXEndpointBuilderFactory.JMXEndpointBuilder format​(String format)
        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. The option is a: java.lang.String type. Default: xml Group: consumer
      • granularityPeriod

        default JMXEndpointBuilderFactory.JMXEndpointBuilder granularityPeriod​(long granularityPeriod)
        The frequency to poll the bean to check the monitor (monitor types only). The option is a: long type. Default: 10000 Group: consumer
      • granularityPeriod

        default JMXEndpointBuilderFactory.JMXEndpointBuilder granularityPeriod​(String granularityPeriod)
        The frequency to poll the bean to check the monitor (monitor types only). The option will be converted to a long type. Default: 10000 Group: consumer
      • objectName

        default JMXEndpointBuilderFactory.JMXEndpointBuilder objectName​(String objectName)
        The name key for the mbean you're connecting to. This value is mutually exclusive with the object properties that get passed. The option is a: java.lang.String type. Group: consumer
      • initThreshold

        default JMXEndpointBuilderFactory.JMXEndpointBuilder initThreshold​(int initThreshold)
        Initial threshold for the monitor. The value must exceed this before notifications are fired (counter monitor only). The option is a: int type. Group: counter
      • initThreshold

        default JMXEndpointBuilderFactory.JMXEndpointBuilder initThreshold​(String initThreshold)
        Initial threshold for the monitor. The value must exceed this before notifications are fired (counter monitor only). The option will be converted to a int type. Group: counter
      • differenceMode

        default JMXEndpointBuilderFactory.JMXEndpointBuilder differenceMode​(boolean differenceMode)
        If true, then the value reported in the notification is the difference from the threshold as opposed to the value itself (counter and gauge monitor only). The option is a: boolean type. Default: false Group: gauge
      • differenceMode

        default JMXEndpointBuilderFactory.JMXEndpointBuilder differenceMode​(String differenceMode)
        If true, then the value reported in the notification is the difference from the threshold as opposed to the value itself (counter and gauge monitor only). The option will be converted to a boolean type. Default: false Group: gauge
      • notifyHigh

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyHigh​(boolean notifyHigh)
        If true, the gauge will fire a notification when the high threshold is exceeded (gauge monitor only). The option is a: boolean type. Default: false Group: gauge
      • notifyHigh

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyHigh​(String notifyHigh)
        If true, the gauge will fire a notification when the high threshold is exceeded (gauge monitor only). The option will be converted to a boolean type. Default: false Group: gauge
      • notifyLow

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyLow​(boolean notifyLow)
        If true, the gauge will fire a notification when the low threshold is exceeded (gauge monitor only). The option is a: boolean type. Default: false Group: gauge
      • notifyLow

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyLow​(String notifyLow)
        If true, the gauge will fire a notification when the low threshold is exceeded (gauge monitor only). The option will be converted to a boolean type. Default: false Group: gauge
      • notifyDiffer

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyDiffer​(boolean notifyDiffer)
        If true, will fire a notification when the string attribute differs from the string to compare (string monitor or consumer). By default the consumer will notify match if observed attribute and string to compare has been configured. The option is a: boolean type. Default: false Group: string
      • notifyDiffer

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyDiffer​(String notifyDiffer)
        If true, will fire a notification when the string attribute differs from the string to compare (string monitor or consumer). By default the consumer will notify match if observed attribute and string to compare has been configured. The option will be converted to a boolean type. Default: false Group: string
      • notifyMatch

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyMatch​(boolean notifyMatch)
        If true, will fire a notification when the string attribute matches the string to compare (string monitor or consumer). By default the consumer will notify match if observed attribute and string to compare has been configured. The option is a: boolean type. Default: false Group: string
      • notifyMatch

        default JMXEndpointBuilderFactory.JMXEndpointBuilder notifyMatch​(String notifyMatch)
        If true, will fire a notification when the string attribute matches the string to compare (string monitor or consumer). By default the consumer will notify match if observed attribute and string to compare has been configured. The option will be converted to a boolean type. Default: false Group: string
      • stringToCompare

        default JMXEndpointBuilderFactory.JMXEndpointBuilder stringToCompare​(String stringToCompare)
        Value for attribute to compare (string monitor or consumer). By default the consumer will notify match if observed attribute and string to compare has been configured. The option is a: java.lang.String type. Group: string