Interface SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder

  • All Superinterfaces:
    org.apache.camel.builder.EndpointConsumerBuilder, org.apache.camel.EndpointConsumerResolver
    All Known Subinterfaces:
    SjmsEndpointBuilderFactory.SjmsEndpointBuilder
    Enclosing interface:
    SjmsEndpointBuilderFactory

    public static interface SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder
    extends org.apache.camel.builder.EndpointConsumerBuilder
    Builder for endpoint consumers for the Simple JMS component.
    • Method Detail

      • acknowledgementMode

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder acknowledgementMode​(String acknowledgementMode)
        The JMS acknowledgement name, which is one of: SESSION_TRANSACTED, CLIENT_ACKNOWLEDGE, AUTO_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE. The option will be converted to a org.apache.camel.component.sjms.jms.SessionAcknowledgementType type. Default: AUTO_ACKNOWLEDGE Group: common
      • bridgeErrorHandler

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder 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 SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder 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
      • synchronous

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder 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: true Group: consumer
      • synchronous

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder 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: true Group: consumer
      • errorHandlerLoggingLevel

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder errorHandlerLoggingLevel​(org.apache.camel.LoggingLevel errorHandlerLoggingLevel)
        Allows to configure the default errorHandler logging level for logging uncaught exceptions. The option is a: org.apache.camel.LoggingLevel type. Default: WARN Group: logging
      • errorHandlerLoggingLevel

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder errorHandlerLoggingLevel​(String errorHandlerLoggingLevel)
        Allows to configure the default errorHandler logging level for logging uncaught exceptions. The option will be converted to a org.apache.camel.LoggingLevel type. Default: WARN Group: logging
      • errorHandlerLogStackTrace

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder errorHandlerLogStackTrace​(boolean errorHandlerLogStackTrace)
        Allows to control whether stacktraces should be logged or not, by the default errorHandler. The option is a: boolean type. Default: true Group: logging
      • errorHandlerLogStackTrace

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder errorHandlerLogStackTrace​(String errorHandlerLogStackTrace)
        Allows to control whether stacktraces should be logged or not, by the default errorHandler. The option will be converted to a boolean type. Default: true Group: logging
      • transactionBatchCount

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder transactionBatchCount​(int transactionBatchCount)
        If transacted sets the number of messages to process before committing a transaction. The option is a: int type. Default: -1 Group: transaction
      • transactionBatchCount

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder transactionBatchCount​(String transactionBatchCount)
        If transacted sets the number of messages to process before committing a transaction. The option will be converted to a int type. Default: -1 Group: transaction
      • transactionBatchTimeout

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder transactionBatchTimeout​(long transactionBatchTimeout)
        Sets timeout (in millis) for batch transactions, the value should be 1000 or higher. The option is a: long type. Default: 5s Group: transaction
      • transactionBatchTimeout

        default SjmsEndpointBuilderFactory.SjmsEndpointConsumerBuilder transactionBatchTimeout​(String transactionBatchTimeout)
        Sets timeout (in millis) for batch transactions, the value should be 1000 or higher. The option will be converted to a long type. Default: 5s Group: transaction