Interface RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointBuilder
- Enclosing interface:
- RabbitMQEndpointBuilderFactory
public static interface RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilderAdvanced builder for endpoint producers for the RabbitMQ component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderallowMessageBodySerialization(boolean allowMessageBodySerialization)Whether to allow Java serialization of the message body or not.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderallowMessageBodySerialization(String allowMessageBodySerialization)Whether to allow Java serialization of the message body or not.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderargs(String key, Object value)Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderargs(Map values)Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each: Exchange: arg.exchange.default RabbitMQEndpointBuilderFactory.RabbitMQEndpointProducerBuilderbasic()default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderclientProperties(String clientProperties)Connection client properties (client info used in negotiating with the server).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderclientProperties(Map<String,Object> clientProperties)Connection client properties (client info used in negotiating with the server).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderconnectionFactoryExceptionHandler(Object connectionFactoryExceptionHandler)Custom rabbitmq ExceptionHandler for ConnectionFactory.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderconnectionFactoryExceptionHandler(String connectionFactoryExceptionHandler)Custom rabbitmq ExceptionHandler for ConnectionFactory.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderconnectionTimeout(int connectionTimeout)Connection timeout.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderconnectionTimeout(String connectionTimeout)Connection timeout.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildernetworkRecoveryInterval(Integer networkRecoveryInterval)Network recovery interval in milliseconds (interval used when recovering from network failure).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildernetworkRecoveryInterval(String networkRecoveryInterval)Network recovery interval in milliseconds (interval used when recovering from network failure).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedChannelMax(int requestedChannelMax)Connection requested channel max (max number of channels offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedChannelMax(String requestedChannelMax)Connection requested channel max (max number of channels offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedFrameMax(int requestedFrameMax)Connection requested frame max (max size of frame offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedFrameMax(String requestedFrameMax)Connection requested frame max (max size of frame offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedHeartbeat(int requestedHeartbeat)Connection requested heartbeat (heart-beat in seconds offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestedHeartbeat(String requestedHeartbeat)Connection requested heartbeat (heart-beat in seconds offered).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestTimeout(long requestTimeout)Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestTimeout(String requestTimeout)Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)Set requestTimeoutCheckerInterval for inOut exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilderrequestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)Set requestTimeoutCheckerInterval for inOut exchange.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildertopologyRecoveryEnabled(Boolean topologyRecoveryEnabled)Enables connection topology recovery (should topology recovery be performed).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildertopologyRecoveryEnabled(String topologyRecoveryEnabled)Enables connection topology recovery (should topology recovery be performed).default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildertransferException(boolean transferException)When true and an inOut Exchange failed on the consumer side send the caused Exception back in the response.default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuildertransferException(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.RabbitMQEndpointProducerBuilder basic()
-
allowMessageBodySerialization
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder allowMessageBodySerialization(boolean allowMessageBodySerialization)
Whether to allow Java serialization of the message body or not. If this value is true, the message body will be serialized on the producer side using Java serialization, if no type converter can handle the message body. On the consumer side, it will deserialize the message body if this value is true and the message contains a CamelSerialize header. Setting this value to true may introduce a security vulnerability as it allows an attacker to attempt to deserialize to a gadget object which could result in a RCE or other security vulnerability. The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
allowMessageBodySerialization- the value to set- Returns:
- the dsl builder
-
allowMessageBodySerialization
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder allowMessageBodySerialization(String allowMessageBodySerialization)
Whether to allow Java serialization of the message body or not. If this value is true, the message body will be serialized on the producer side using Java serialization, if no type converter can handle the message body. On the consumer side, it will deserialize the message body if this value is true and the message contains a CamelSerialize header. Setting this value to true may introduce a security vulnerability as it allows an attacker to attempt to deserialize to a gadget object which could result in a RCE or other security vulnerability. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
allowMessageBodySerialization- the value to set- Returns:
- the dsl builder
-
args
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder 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: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
args
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder 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: <code>java.util.Map<java.lang.String, java.lang.Object></code> 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- Parameters:
values- the values- Returns:
- the dsl builder
-
clientProperties
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder clientProperties(Map<String,Object> clientProperties)
Connection client properties (client info used in negotiating with the server). The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
clientProperties- the value to set- Returns:
- the dsl builder
-
clientProperties
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder clientProperties(String clientProperties)
Connection client properties (client info used in negotiating with the server). The option will be converted to a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Parameters:
clientProperties- the value to set- Returns:
- the dsl builder
-
connectionFactoryExceptionHandler
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder connectionFactoryExceptionHandler(Object connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory. The option is a: <code>com.rabbitmq.client.ExceptionHandler</code> type. Group: advanced- Parameters:
connectionFactoryExceptionHandler- the value to set- Returns:
- the dsl builder
-
connectionFactoryExceptionHandler
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder connectionFactoryExceptionHandler(String connectionFactoryExceptionHandler)
Custom rabbitmq ExceptionHandler for ConnectionFactory. The option will be converted to a <code>com.rabbitmq.client.ExceptionHandler</code> type. Group: advanced- Parameters:
connectionFactoryExceptionHandler- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder connectionTimeout(int connectionTimeout)
Connection timeout. The option is a: <code>int</code> type. Default: 60000 Group: advanced- Parameters:
connectionTimeout- the value to set- Returns:
- the dsl builder
-
connectionTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder connectionTimeout(String connectionTimeout)
Connection timeout. The option will be converted to a <code>int</code> type. Default: 60000 Group: advanced- Parameters:
connectionTimeout- the value to set- Returns:
- the dsl builder
-
networkRecoveryInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder networkRecoveryInterval(Integer networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure). The option is a: <code>java.lang.Integer</code> type. Default: 5000 Group: advanced- Parameters:
networkRecoveryInterval- the value to set- Returns:
- the dsl builder
-
networkRecoveryInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder networkRecoveryInterval(String networkRecoveryInterval)
Network recovery interval in milliseconds (interval used when recovering from network failure). The option will be converted to a <code>java.lang.Integer</code> type. Default: 5000 Group: advanced- Parameters:
networkRecoveryInterval- the value to set- Returns:
- the dsl builder
-
requestedChannelMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedChannelMax(int requestedChannelMax)
Connection requested channel max (max number of channels offered). The option is a: <code>int</code> type. Default: 2047 Group: advanced- Parameters:
requestedChannelMax- the value to set- Returns:
- the dsl builder
-
requestedChannelMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedChannelMax(String requestedChannelMax)
Connection requested channel max (max number of channels offered). The option will be converted to a <code>int</code> type. Default: 2047 Group: advanced- Parameters:
requestedChannelMax- the value to set- Returns:
- the dsl builder
-
requestedFrameMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedFrameMax(int requestedFrameMax)
Connection requested frame max (max size of frame offered). The option is a: <code>int</code> type. Default: 0 Group: advanced- Parameters:
requestedFrameMax- the value to set- Returns:
- the dsl builder
-
requestedFrameMax
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedFrameMax(String requestedFrameMax)
Connection requested frame max (max size of frame offered). The option will be converted to a <code>int</code> type. Default: 0 Group: advanced- Parameters:
requestedFrameMax- the value to set- Returns:
- the dsl builder
-
requestedHeartbeat
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedHeartbeat(int requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered). The option is a: <code>int</code> type. Default: 60 Group: advanced- Parameters:
requestedHeartbeat- the value to set- Returns:
- the dsl builder
-
requestedHeartbeat
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestedHeartbeat(String requestedHeartbeat)
Connection requested heartbeat (heart-beat in seconds offered). The option will be converted to a <code>int</code> type. Default: 60 Group: advanced- Parameters:
requestedHeartbeat- the value to set- Returns:
- the dsl builder
-
requestTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestTimeout(long requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). The option is a: <code>long</code> type. Default: 20000 Group: advanced- Parameters:
requestTimeout- the value to set- Returns:
- the dsl builder
-
requestTimeout
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestTimeout(String requestTimeout)
Set timeout for waiting for a reply when using the InOut Exchange Pattern (in milliseconds). The option will be converted to a <code>long</code> type. Default: 20000 Group: advanced- Parameters:
requestTimeout- the value to set- Returns:
- the dsl builder
-
requestTimeoutCheckerInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange. The option is a: <code>long</code> type. Default: 1000 Group: advanced- Parameters:
requestTimeoutCheckerInterval- the value to set- Returns:
- the dsl builder
-
requestTimeoutCheckerInterval
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder requestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)
Set requestTimeoutCheckerInterval for inOut exchange. The option will be converted to a <code>long</code> type. Default: 1000 Group: advanced- Parameters:
requestTimeoutCheckerInterval- the value to set- Returns:
- the dsl builder
-
topologyRecoveryEnabled
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder topologyRecoveryEnabled(Boolean topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed). The option is a: <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
topologyRecoveryEnabled- the value to set- Returns:
- the dsl builder
-
topologyRecoveryEnabled
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder topologyRecoveryEnabled(String topologyRecoveryEnabled)
Enables connection topology recovery (should topology recovery be performed). The option will be converted to a <code>java.lang.Boolean</code> type. Group: advanced- Parameters:
topologyRecoveryEnabled- the value to set- Returns:
- the dsl builder
-
transferException
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder 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: <code>boolean</code> type. Default: false Group: advanced- Parameters:
transferException- the value to set- Returns:
- the dsl builder
-
transferException
default RabbitMQEndpointBuilderFactory.AdvancedRabbitMQEndpointProducerBuilder 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 a <code>boolean</code> type. Default: false Group: advanced- Parameters:
transferException- the value to set- Returns:
- the dsl builder
-
-