Interface SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
,SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Enclosing interface:
- SpringRabbitMQEndpointBuilderFactory
public static interface SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder extends SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder, SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
Advanced builder for endpoint for the Spring RabbitMQ component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
args(String key, Object value)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each element: arg.consumer.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
args(Map values)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each element: arg.consumer.default SpringRabbitMQEndpointBuilderFactory.SpringRabbitMQEndpointBuilder
basic()
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
messageConverter(String messageConverter)
To use a custom MessageConverter so you can be in control how to map to/from a org.springframework.amqp.core.Message.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
messageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter)
To use a custom MessageConverter so you can be in control how to map to/from a org.springframework.amqp.core.Message.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
messagePropertiesConverter(String messagePropertiesConverter)
To use a custom MessagePropertiesConverter so you can be in control how to map to/from a org.springframework.amqp.core.MessageProperties.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
messagePropertiesConverter(org.apache.camel.component.springrabbit.MessagePropertiesConverter messagePropertiesConverter)
To use a custom MessagePropertiesConverter so you can be in control how to map to/from a org.springframework.amqp.core.MessageProperties.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used.default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler, concurrentConsumers, concurrentConsumers, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, maxConcurrentConsumers, maxConcurrentConsumers, messageListenerContainerType, prefetchCount, prefetchCount, retry, retry
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
basic
default SpringRabbitMQEndpointBuilderFactory.SpringRabbitMQEndpointBuilder basic()
- Specified by:
basic
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
basic
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
-
args
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder args(String key, Object value)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each element: arg.consumer. arg.exchange. arg.queue. arg.binding. arg.dlq.exchange. arg.dlq.queue. arg.dlq.binding. For example to declare a queue with message ttl argument: args=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- Specified by:
args
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
args
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
args
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder args(Map values)
Specify arguments for configuring the different RabbitMQ concepts, a different prefix is required for each element: arg.consumer. arg.exchange. arg.queue. arg.binding. arg.dlq.exchange. arg.dlq.queue. arg.dlq.binding. For example to declare a queue with message ttl argument: args=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- Specified by:
args
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
args
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
values
- the values- Returns:
- the dsl builder
-
messageConverter
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder messageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter)
To use a custom MessageConverter so you can be in control how to map to/from a org.springframework.amqp.core.Message. The option is a: <code>org.springframework.amqp.support.converter.MessageConverter</code> type. Group: advanced- Specified by:
messageConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
messageConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
messageConverter
- the value to set- Returns:
- the dsl builder
-
messageConverter
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder messageConverter(String messageConverter)
To use a custom MessageConverter so you can be in control how to map to/from a org.springframework.amqp.core.Message. The option will be converted to a <code>org.springframework.amqp.support.converter.MessageConverter</code> type. Group: advanced- Specified by:
messageConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
messageConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
messageConverter
- the value to set- Returns:
- the dsl builder
-
messagePropertiesConverter
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder messagePropertiesConverter(org.apache.camel.component.springrabbit.MessagePropertiesConverter messagePropertiesConverter)
To use a custom MessagePropertiesConverter so you can be in control how to map to/from a org.springframework.amqp.core.MessageProperties. The option is a: <code>org.apache.camel.component.springrabbit.MessagePropertiesConverter</code> type. Group: advanced- Specified by:
messagePropertiesConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
messagePropertiesConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
messagePropertiesConverter
- the value to set- Returns:
- the dsl builder
-
messagePropertiesConverter
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder messagePropertiesConverter(String messagePropertiesConverter)
To use a custom MessagePropertiesConverter so you can be in control how to map to/from a org.springframework.amqp.core.MessageProperties. The option will be converted to a <code>org.apache.camel.component.springrabbit.MessagePropertiesConverter</code> type. Group: advanced- Specified by:
messagePropertiesConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
messagePropertiesConverter
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
messagePropertiesConverter
- the value to set- Returns:
- the dsl builder
-
synchronous
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
synchronous
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
synchronous
- the value to set- Returns:
- the dsl builder
-
synchronous
default SpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointBuilder synchronous(String synchronous)
Sets whether synchronous processing should be strictly used. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
synchronous
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointConsumerBuilder
- Specified by:
synchronous
in interfaceSpringRabbitMQEndpointBuilderFactory.AdvancedSpringRabbitMQEndpointProducerBuilder
- Parameters:
synchronous
- the value to set- Returns:
- the dsl builder
-
-