Interface AMQPEndpointBuilderFactory.AMQPEndpointBuilder
-
- All Superinterfaces:
AMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
,AMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
,org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- AMQPEndpointBuilderFactory
public static interface AMQPEndpointBuilderFactory.AMQPEndpointBuilder extends AMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder, AMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
Builder for endpoint for the AMQP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder
advanced()
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
clientId(String clientId)
Sets the JMS client ID to use.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
connectionFactory(Object connectionFactory)
The connection factory to be use.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
connectionFactory(String connectionFactory)
The connection factory to be use.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
disableReplyTo(boolean disableReplyTo)
Specifies whether Camel ignores the JMSReplyTo header in messages.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
disableReplyTo(String disableReplyTo)
Specifies whether Camel ignores the JMSReplyTo header in messages.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
durableSubscriptionName(String durableSubscriptionName)
The durable subscriber name for specifying durable topic subscriptions.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
jmsMessageType(String jmsMessageType)
Allows you to force the use of a specific javax.jms.Message implementation for sending JMS messages.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
jmsMessageType(AMQPEndpointBuilderFactory.JmsMessageType jmsMessageType)
Allows you to force the use of a specific javax.jms.Message implementation for sending JMS messages.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
password(String password)
Password to use with the ConnectionFactory.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
testConnectionOnStartup(boolean testConnectionOnStartup)
Specifies whether to test the connection on startup.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
testConnectionOnStartup(String testConnectionOnStartup)
Specifies whether to test the connection on startup.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
transacted(boolean transacted)
Specifies whether to use transacted mode.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
transacted(String transacted)
Specifies whether to use transacted mode.default AMQPEndpointBuilderFactory.AMQPEndpointBuilder
username(String username)
Username to use with the ConnectionFactory.-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.AMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
acknowledgementModeName, asyncConsumer, asyncConsumer, autoStartup, autoStartup, cacheLevel, cacheLevel, cacheLevelName, concurrentConsumers, concurrentConsumers, errorHandlerLoggingLevel, errorHandlerLoggingLevel, errorHandlerLogStackTrace, errorHandlerLogStackTrace, maxConcurrentConsumers, maxConcurrentConsumers, replyTo, replyToDeliveryPersistent, replyToDeliveryPersistent, selector, subscriptionDurable, subscriptionDurable, subscriptionName, subscriptionShared, subscriptionShared
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.AMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
deliveryDelay, deliveryDelay, deliveryMode, deliveryMode, deliveryPersistent, deliveryPersistent, explicitQosEnabled, explicitQosEnabled, formatDateHeadersToIso8601, formatDateHeadersToIso8601, lazyStartProducer, lazyStartProducer, preserveMessageQos, preserveMessageQos, priority, priority, replyToConcurrentConsumers, replyToConcurrentConsumers, replyToMaxConcurrentConsumers, replyToMaxConcurrentConsumers, replyToOnTimeoutMaxConcurrentConsumers, replyToOnTimeoutMaxConcurrentConsumers, replyToOverride, replyToType, replyToType, requestTimeout, requestTimeout, timeToLive, timeToLive
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
-
-
-
Method Detail
-
advanced
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder advanced()
- Specified by:
advanced
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
advanced
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
clientId
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder clientId(String clientId)
Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connection instance. It is typically only required for durable topic subscriptions. If using Apache ActiveMQ you may prefer to use Virtual Topics instead. The option is a:java.lang.String
type. Group: common- Specified by:
clientId
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
clientId
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
connectionFactory
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder connectionFactory(Object connectionFactory)
The connection factory to be use. A connection factory must be configured either on the component or endpoint. The option is a:javax.jms.ConnectionFactory
type. Group: common- Specified by:
connectionFactory
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
connectionFactory
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder connectionFactory(String connectionFactory)
The connection factory to be use. A connection factory must be configured either on the component or endpoint. The option will be converted to ajavax.jms.ConnectionFactory
type. Group: common- Specified by:
connectionFactory
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
connectionFactory
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
disableReplyTo
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder disableReplyTo(boolean disableReplyTo)
Specifies whether Camel ignores the JMSReplyTo header in messages. If true, Camel does not send a reply back to the destination specified in the JMSReplyTo header. You can use this option if you want Camel to consume from a route and you do not want Camel to automatically send back a reply message because another component in your code handles the reply message. You can also use this option if you want to use Camel as a proxy between different message brokers and you want to route message from one system to another. The option is a:boolean
type. Default: false Group: common- Specified by:
disableReplyTo
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
disableReplyTo
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
disableReplyTo
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder disableReplyTo(String disableReplyTo)
Specifies whether Camel ignores the JMSReplyTo header in messages. If true, Camel does not send a reply back to the destination specified in the JMSReplyTo header. You can use this option if you want Camel to consume from a route and you do not want Camel to automatically send back a reply message because another component in your code handles the reply message. You can also use this option if you want to use Camel as a proxy between different message brokers and you want to route message from one system to another. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
disableReplyTo
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
disableReplyTo
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
durableSubscriptionName
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder durableSubscriptionName(String durableSubscriptionName)
The durable subscriber name for specifying durable topic subscriptions. The clientId option must be configured as well. The option is a:java.lang.String
type. Group: common- Specified by:
durableSubscriptionName
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
durableSubscriptionName
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
jmsMessageType
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder jmsMessageType(AMQPEndpointBuilderFactory.JmsMessageType jmsMessageType)
Allows you to force the use of a specific javax.jms.Message implementation for sending JMS messages. Possible values are: Bytes, Map, Object, Stream, Text. By default, Camel would determine which JMS message type to use from the In body type. This option allows you to specify it. The option is a:org.apache.camel.component.jms.JmsMessageType
type. Group: common- Specified by:
jmsMessageType
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
jmsMessageType
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
jmsMessageType
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder jmsMessageType(String jmsMessageType)
Allows you to force the use of a specific javax.jms.Message implementation for sending JMS messages. Possible values are: Bytes, Map, Object, Stream, Text. By default, Camel would determine which JMS message type to use from the In body type. This option allows you to specify it. The option will be converted to aorg.apache.camel.component.jms.JmsMessageType
type. Group: common- Specified by:
jmsMessageType
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
jmsMessageType
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
testConnectionOnStartup
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder testConnectionOnStartup(boolean testConnectionOnStartup)
Specifies whether to test the connection on startup. This ensures that when Camel starts that all the JMS consumers have a valid connection to the JMS broker. If a connection cannot be granted then Camel throws an exception on startup. This ensures that Camel is not started with failed connections. The JMS producers is tested as well. The option is a:boolean
type. Default: false Group: common- Specified by:
testConnectionOnStartup
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
testConnectionOnStartup
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
testConnectionOnStartup
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder testConnectionOnStartup(String testConnectionOnStartup)
Specifies whether to test the connection on startup. This ensures that when Camel starts that all the JMS consumers have a valid connection to the JMS broker. If a connection cannot be granted then Camel throws an exception on startup. This ensures that Camel is not started with failed connections. The JMS producers is tested as well. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
testConnectionOnStartup
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
testConnectionOnStartup
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
password
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder password(String password)
Password to use with the ConnectionFactory. You can also configure username/password directly on the ConnectionFactory. The option is a:java.lang.String
type. Group: security- Specified by:
password
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
password
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
username
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder username(String username)
Username to use with the ConnectionFactory. You can also configure username/password directly on the ConnectionFactory. The option is a:java.lang.String
type. Group: security- Specified by:
username
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
username
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
transacted
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder transacted(boolean transacted)
Specifies whether to use transacted mode. The option is a:boolean
type. Default: false Group: transaction- Specified by:
transacted
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
transacted
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
transacted
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder transacted(String transacted)
Specifies whether to use transacted mode. The option will be converted to aboolean
type. Default: false Group: transaction- Specified by:
transacted
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointConsumerBuilder
- Specified by:
transacted
in interfaceAMQPEndpointBuilderFactory.AMQPEndpointProducerBuilder
-
-