Interface JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder

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

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

      • exceptionHandler

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder exceptionHandler​(org.apache.camel.spi.ExceptionHandler exceptionHandler)
        To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • exceptionHandler

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder exceptionHandler​(String exceptionHandler)
        To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option will be converted to a org.apache.camel.spi.ExceptionHandler type. Group: consumer (advanced)
      • exchangePattern

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder exchangePattern​(org.apache.camel.ExchangePattern exchangePattern)
        Sets the exchange pattern when the consumer creates an exchange. The option is a: org.apache.camel.ExchangePattern type. Group: consumer (advanced)
      • executorService

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder executorService​(ExecutorService executorService)
        To use a custom shared thread pool for the consumers. By default each consume has their own thread-pool to process and route notifications. The option is a: java.util.concurrent.ExecutorService type. Group: advanced
      • executorService

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder executorService​(String executorService)
        To use a custom shared thread pool for the consumers. By default each consume has their own thread-pool to process and route notifications. The option will be converted to a java.util.concurrent.ExecutorService type. Group: advanced
      • handback

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder handback​(Object handback)
        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. The option is a: java.lang.Object type. Group: advanced
      • handback

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder handback​(String handback)
        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. The option will be converted to a java.lang.Object type. Group: advanced
      • objectProperties

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder objectProperties​(String key,
                                                                                      Object value)
        Properties for the object name. These values will be used if the objectName param is not set. The option is a: java.util.Map<java.lang.String, java.lang.String> type. The option is multivalued, and you can use the objectProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
      • objectProperties

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder objectProperties​(Map values)
        Properties for the object name. These values will be used if the objectName param is not set. The option is a: java.util.Map<java.lang.String, java.lang.String> type. The option is multivalued, and you can use the objectProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
      • reconnectDelay

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder reconnectDelay​(int reconnectDelay)
        The number of seconds to wait before attempting to retry establishment of the initial connection or attempt to reconnect a lost connection. The option is a: int type. Default: 10 Group: advanced
      • reconnectDelay

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder reconnectDelay​(String reconnectDelay)
        The number of seconds to wait before attempting to retry establishment of the initial connection or attempt to reconnect a lost connection. The option will be converted to a int type. Default: 10 Group: advanced
      • reconnectOnConnectionFailure

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

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder reconnectOnConnectionFailure​(String reconnectOnConnectionFailure)
        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. The option will be converted to a boolean type. Default: false Group: advanced
      • synchronous

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder synchronous​(boolean synchronous)
        Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option is a: boolean type. Default: false Group: advanced
      • synchronous

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder synchronous​(String synchronous)
        Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). The option will be converted to a boolean type. Default: false Group: advanced
      • testConnectionOnStartup

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder testConnectionOnStartup​(boolean testConnectionOnStartup)
        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. The option is a: boolean type. Default: true Group: advanced
      • testConnectionOnStartup

        default JMXEndpointBuilderFactory.AdvancedJMXEndpointBuilder testConnectionOnStartup​(String testConnectionOnStartup)
        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. The option will be converted to a boolean type. Default: true Group: advanced