Interface RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointBuilder
- Enclosing interface:
- RabbitMQEndpointBuilderFactory
public static interface RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Advanced builder for endpoint consumers for the RabbitMQ component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
args(String key, Object value)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
args(Map values)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange.default RabbitMQEndpointBuilderFactory.RabbitMQEndpointConsumerBuilder
basic()
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
clientProperties(String clientProperties)
Connection client properties (client info used in negotiating with the server).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
clientProperties(Map<String,Object> clientProperties)
Connection client properties (client info used in negotiating with the server).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
connectionFactoryExceptionHandler(Object connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
connectionFactoryExceptionHandler(String connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
connectionTimeout(int connectionTimeout)
Connection timeout.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
connectionTimeout(String connectionTimeout)
Connection timeout.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
networkRecoveryInterval(Integer networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
networkRecoveryInterval(String networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedChannelMax(int requestedChannelMax)
Connection requested channel max (max number of channels offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedChannelMax(String requestedChannelMax)
Connection requested channel max (max number of channels offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedFrameMax(int requestedFrameMax)
Connection requested frame max (max size of frame offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedFrameMax(String requestedFrameMax)
Connection requested frame max (max size of frame offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedHeartbeat(int requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestedHeartbeat(String requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestTimeout(long requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestTimeout(String requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
requestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
threadPoolSize(int threadPoolSize)
The consumer uses a Thread Pool Executor with a fixed number of threads.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
threadPoolSize(String threadPoolSize)
The consumer uses a Thread Pool Executor with a fixed number of threads.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
topologyRecoveryEnabled(Boolean topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
topologyRecoveryEnabled(String topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
transferException(boolean transferException)
When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder
transferException(String transferException)
When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response.
-
-
-
Method Detail
-
basic
default RabbitMQEndpointBuilderFactory.RabbitMQEndpointConsumerBuilder basic()
-
exceptionHandler
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder 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 RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder 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 aorg.apache.camel.spi.ExceptionHandler
type. Group: consumer (advanced)
-
exchangePattern
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder 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)
-
exchangePattern
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange. The option will be converted to aorg.apache.camel.ExchangePattern
type. Group: consumer (advanced)
-
threadPoolSize
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder threadPoolSize(int threadPoolSize)
The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. The option is a:int
type. Default: 10 Group: consumer (advanced)
-
threadPoolSize
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder threadPoolSize(String threadPoolSize)
The consumer uses a Thread Pool Executor with a fixed number of threads. This setting allows you to set that number of threads. The option will be converted to aint
type. Default: 10 Group: consumer (advanced)
-
args
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder args(String key, Object value)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange. Queue: arg.queue. Binding: arg.binding. DLQ: arg.dlq.queue. DLQ binding: arg.dlq.binding. For example to declare a queue with message ttl argument: http://localhost:5672/exchange/queueargs=arg.queue.x-message-ttl=60000. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the args(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
args
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder args(Map values)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange. Queue: arg.queue. Binding: arg.binding. DLQ: arg.dlq.queue. DLQ binding: arg.dlq.binding. For example to declare a queue with message ttl argument: http://localhost:5672/exchange/queueargs=arg.queue.x-message-ttl=60000. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. The option is multivalued, and you can use the args(String, Object) method to add a value (call the method multiple times to set more values). Group: advanced
-
clientProperties
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder clientProperties(Map<String,Object> clientProperties)
Connection client properties (client info used in negotiating with the server). The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced
-
clientProperties
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder clientProperties(String clientProperties)
Connection client properties (client info used in negotiating with the server). The option will be converted to ajava.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced
-
connectionFactoryExceptionHandler
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder connectionFactoryExceptionHandler(Object connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory. The option is a:com.rabbitmq.client.ExceptionHandler
type. Group: advanced
-
connectionFactoryExceptionHandler
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder connectionFactoryExceptionHandler(String connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory. The option will be converted to acom.rabbitmq.client.ExceptionHandler
type. Group: advanced
-
connectionTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder connectionTimeout(int connectionTimeout)
Connection timeout. The option is a:int
type. Default: 60000 Group: advanced
-
connectionTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder connectionTimeout(String connectionTimeout)
Connection timeout. The option will be converted to aint
type. Default: 60000 Group: advanced
-
networkRecoveryInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder networkRecoveryInterval(Integer networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure). The option is a:java.lang.Integer
type. Default: 5000 Group: advanced
-
networkRecoveryInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder networkRecoveryInterval(String networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure). The option will be converted to ajava.lang.Integer
type. Default: 5000 Group: advanced
-
requestedChannelMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedChannelMax(int requestedChannelMax)
Connection requested channel max (max number of channels offered). The option is a:int
type. Default: 2047 Group: advanced
-
requestedChannelMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedChannelMax(String requestedChannelMax)
Connection requested channel max (max number of channels offered). The option will be converted to aint
type. Default: 2047 Group: advanced
-
requestedFrameMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedFrameMax(int requestedFrameMax)
Connection requested frame max (max size of frame offered). The option is a:int
type. Default: 0 Group: advanced
-
requestedFrameMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedFrameMax(String requestedFrameMax)
Connection requested frame max (max size of frame offered). The option will be converted to aint
type. Default: 0 Group: advanced
-
requestedHeartbeat
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedHeartbeat(int requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered). The option is a:int
type. Default: 60 Group: advanced
-
requestedHeartbeat
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestedHeartbeat(String requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered). The option will be converted to aint
type. Default: 60 Group: advanced
-
requestTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestTimeout(long requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). The option is a:long
type. Default: 20000 Group: advanced
-
requestTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestTimeout(String requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). The option will be converted to along
type. Default: 20000 Group: advanced
-
requestTimeoutCheckerInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange. The option is a:long
type. Default: 1000 Group: advanced
-
requestTimeoutCheckerInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder requestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange. The option will be converted to along
type. Default: 1000 Group: advanced
-
synchronous
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder 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 RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder 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 aboolean
type. Default: false Group: advanced
-
topologyRecoveryEnabled
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder topologyRecoveryEnabled(Boolean topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed). The option is a:java.lang.Boolean
type. Group: advanced
-
topologyRecoveryEnabled
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder topologyRecoveryEnabled(String topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed). The option will be converted to ajava.lang.Boolean
type. Group: advanced
-
transferException
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder transferException(boolean transferException)
When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response. The option is a:boolean
type. Default: false Group: advanced
-
transferException
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointConsumerBuilder transferException(String transferException)
When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response. The option will be converted to aboolean
type. Default: false Group: advanced
-
-