Interface AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder
-
- All Superinterfaces:
AMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder,AMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder,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.AdvancedAMQPEndpointBuilder extends AMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder, AMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder
Advanced builder for endpoint for the AMQP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderallowSerializedHeaders(boolean allowSerializedHeaders)Controls whether or not to include serialized headers.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderallowSerializedHeaders(String allowSerializedHeaders)Controls whether or not to include serialized headers.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderartemisStreamingEnabled(boolean artemisStreamingEnabled)Whether optimizing for Apache Artemis streaming mode.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderartemisStreamingEnabled(String artemisStreamingEnabled)Whether optimizing for Apache Artemis streaming mode.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderasyncStartListener(boolean asyncStartListener)Whether to startup the JmsConsumer message listener asynchronously, when starting a route.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderasyncStartListener(String asyncStartListener)Whether to startup the JmsConsumer message listener asynchronously, when starting a route.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderasyncStopListener(boolean asyncStopListener)Whether to stop the JmsConsumer message listener asynchronously, when stopping a route.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderasyncStopListener(String asyncStopListener)Whether to stop the JmsConsumer message listener asynchronously, when stopping a route.default AMQPEndpointBuilderFactory.AMQPEndpointBuilderbasic()default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderdestinationResolver(String destinationResolver)A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry).default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderdestinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry).default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildererrorHandler(String errorHandler)Specifies a org.springframework.util.ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildererrorHandler(org.springframework.util.ErrorHandler errorHandler)Specifies a org.springframework.util.ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderexceptionListener(String exceptionListener)Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderexceptionListener(javax.jms.ExceptionListener exceptionListener)Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderheaderFilterStrategy(String headerFilterStrategy)To use a custom HeaderFilterStrategy to filter header to and from Camel message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderheaderFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)To use a custom HeaderFilterStrategy to filter header to and from Camel message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderidleConsumerLimit(int idleConsumerLimit)Specify the limit for the number of consumers that are allowed to be idle at any given time.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderidleConsumerLimit(String idleConsumerLimit)Specify the limit for the number of consumers that are allowed to be idle at any given time.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderidleTaskExecutionLimit(int idleTaskExecutionLimit)Specifies the limit for idle executions of a receive task, not having received any message within its execution.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderidleTaskExecutionLimit(String idleTaskExecutionLimit)Specifies the limit for idle executions of a receive task, not having received any message within its execution.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderincludeAllJMSXProperties(boolean includeAllJMSXProperties)Whether to include all JMSXxxx properties when mapping from JMS to Camel Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderincludeAllJMSXProperties(String includeAllJMSXProperties)Whether to include all JMSXxxx properties when mapping from JMS to Camel Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderjmsKeyFormatStrategy(String jmsKeyFormatStrategy)Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderjmsKeyFormatStrategy(org.apache.camel.component.jms.JmsKeyFormatStrategy jmsKeyFormatStrategy)Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderlazyCreateTransactionManager(boolean lazyCreateTransactionManager)If true, Camel will create a JmsTransactionManager, if there is no transactionManager injected when option transacted=true.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderlazyCreateTransactionManager(String lazyCreateTransactionManager)If true, Camel will create a JmsTransactionManager, if there is no transactionManager injected when option transacted=true.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermapJmsMessage(boolean mapJmsMessage)Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermapJmsMessage(String mapJmsMessage)Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermaxMessagesPerTask(int maxMessagesPerTask)The number of messages per task.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermaxMessagesPerTask(String maxMessagesPerTask)The number of messages per task.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageConverter(String messageConverter)To use a custom Spring org.springframework.jms.support.converter.MessageConverter so you can be in control how to map to/from a javax.jms.Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)To use a custom Spring org.springframework.jms.support.converter.MessageConverter so you can be in control how to map to/from a javax.jms.Message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageCreatedStrategy(String messageCreatedStrategy)To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageCreatedStrategy(org.apache.camel.component.jms.MessageCreatedStrategy messageCreatedStrategy)To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageIdEnabled(boolean messageIdEnabled)When sending, specifies whether message IDs should be added.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageIdEnabled(String messageIdEnabled)When sending, specifies whether message IDs should be added.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageListenerContainerFactory(String messageListenerContainerFactory)Registry ID of the MessageListenerContainerFactory used to determine what org.springframework.jms.listener.AbstractMessageListenerContainer to use to consume messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageListenerContainerFactory(org.apache.camel.component.jms.MessageListenerContainerFactory messageListenerContainerFactory)Registry ID of the MessageListenerContainerFactory used to determine what org.springframework.jms.listener.AbstractMessageListenerContainer to use to consume messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageTimestampEnabled(boolean messageTimestampEnabled)Specifies whether timestamps should be enabled by default on sending messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildermessageTimestampEnabled(String messageTimestampEnabled)Specifies whether timestamps should be enabled by default on sending messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderpubSubNoLocal(boolean pubSubNoLocal)Specifies whether to inhibit the delivery of messages published by its own connection.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderpubSubNoLocal(String pubSubNoLocal)Specifies whether to inhibit the delivery of messages published by its own connection.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderreceiveTimeout(long receiveTimeout)The timeout for receiving messages (in milliseconds).default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderreceiveTimeout(String receiveTimeout)The timeout for receiving messages (in milliseconds).default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderrecoveryInterval(long recoveryInterval)Specifies the interval between recovery attempts, i.e.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderrecoveryInterval(String recoveryInterval)Specifies the interval between recovery attempts, i.e.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderrequestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)Configures how often Camel should check for timed out Exchanges when doing request/reply over JMS.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderrequestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)Configures how often Camel should check for timed out Exchanges when doing request/reply over JMS.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildersynchronous(boolean synchronous)Sets whether synchronous processing should be strictly used.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildersynchronous(String synchronous)Sets whether synchronous processing should be strictly used.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransactionManager(String transactionManager)The Spring transaction manager to use.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)The Spring transaction manager to use.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransactionName(String transactionName)The name of the transaction to use.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransactionTimeout(int transactionTimeout)The timeout value of the transaction (in seconds), if using transacted mode.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransactionTimeout(String transactionTimeout)The timeout value of the transaction (in seconds), if using transacted mode.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransferException(boolean transferException)If enabled and you are using Request Reply messaging (InOut) and an Exchange failed on the consumer side, then the caused Exception will be send back in response as a javax.jms.ObjectMessage.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransferException(String transferException)If enabled and you are using Request Reply messaging (InOut) and an Exchange failed on the consumer side, then the caused Exception will be send back in response as a javax.jms.ObjectMessage.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransferExchange(boolean transferExchange)You can transfer the exchange over the wire instead of just the body and headers.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuildertransferExchange(String transferExchange)You can transfer the exchange over the wire instead of just the body and headers.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderuseMessageIDAsCorrelationID(boolean useMessageIDAsCorrelationID)Specifies whether JMSMessageID should always be used as JMSCorrelationID for InOut messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderuseMessageIDAsCorrelationID(String useMessageIDAsCorrelationID)Specifies whether JMSMessageID should always be used as JMSCorrelationID for InOut messages.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderwaitForProvisionCorrelationToBeUpdatedCounter(int waitForProvisionCorrelationToBeUpdatedCounter)Number of times to wait for provisional correlation id to be updated to the actual correlation id when doing request/reply over JMS and when the option useMessageIDAsCorrelationID is enabled.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderwaitForProvisionCorrelationToBeUpdatedCounter(String waitForProvisionCorrelationToBeUpdatedCounter)Number of times to wait for provisional correlation id to be updated to the actual correlation id when doing request/reply over JMS and when the option useMessageIDAsCorrelationID is enabled.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderwaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime)Interval in millis to sleep each time while waiting for provisional correlation id to be updated.default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilderwaitForProvisionCorrelationToBeUpdatedThreadSleepingTime(String waitForProvisionCorrelationToBeUpdatedThreadSleepingTime)Interval in millis to sleep each time while waiting for provisional correlation id to be updated.-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.AMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder
acceptMessagesWhileStopping, acceptMessagesWhileStopping, allowReplyManagerQuickStop, allowReplyManagerQuickStop, consumerType, consumerType, defaultTaskExecutorType, defaultTaskExecutorType, eagerLoadingOfProperties, eagerLoadingOfProperties, eagerPoisonBody, exceptionHandler, exceptionHandler, exchangePattern, exchangePattern, exposeListenerSession, exposeListenerSession, replyToConsumerType, replyToConsumerType, replyToSameDestinationAllowed, replyToSameDestinationAllowed, taskExecutor, taskExecutor
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.AMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder
allowAdditionalHeaders, allowNullBody, allowNullBody, alwaysCopyMessage, alwaysCopyMessage, correlationProperty, disableTimeToLive, disableTimeToLive, forceSendOriginalMessage, forceSendOriginalMessage, includeSentJMSMessageID, includeSentJMSMessageID, lazyStartProducer, lazyStartProducer, replyToCacheLevelName, replyToDestinationSelectorName, streamMessageTypeEnabled, streamMessageTypeEnabled
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
-
-
-
Method Detail
-
basic
default AMQPEndpointBuilderFactory.AMQPEndpointBuilder basic()
- Specified by:
basicin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
basicin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder
-
allowSerializedHeaders
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder allowSerializedHeaders(boolean allowSerializedHeaders)
Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
allowSerializedHeadersin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
allowSerializedHeadersin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
allowSerializedHeaders- the value to set- Returns:
- the dsl builder
-
allowSerializedHeaders
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder allowSerializedHeaders(String allowSerializedHeaders)
Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
allowSerializedHeadersin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
allowSerializedHeadersin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
allowSerializedHeaders- the value to set- Returns:
- the dsl builder
-
artemisStreamingEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder artemisStreamingEnabled(boolean artemisStreamingEnabled)
Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
artemisStreamingEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
artemisStreamingEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
artemisStreamingEnabled- the value to set- Returns:
- the dsl builder
-
artemisStreamingEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder artemisStreamingEnabled(String artemisStreamingEnabled)
Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
artemisStreamingEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
artemisStreamingEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
artemisStreamingEnabled- the value to set- Returns:
- the dsl builder
-
asyncStartListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder asyncStartListener(boolean asyncStartListener)
Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if the connection could not be established, then an exception is logged at WARN level, and the consumer will not be able to receive messages; You can then restart the route to retry. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
asyncStartListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
asyncStartListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
asyncStartListener- the value to set- Returns:
- the dsl builder
-
asyncStartListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder asyncStartListener(String asyncStartListener)
Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if the connection could not be established, then an exception is logged at WARN level, and the consumer will not be able to receive messages; You can then restart the route to retry. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
asyncStartListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
asyncStartListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
asyncStartListener- the value to set- Returns:
- the dsl builder
-
asyncStopListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder asyncStopListener(boolean asyncStopListener)
Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
asyncStopListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
asyncStopListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
asyncStopListener- the value to set- Returns:
- the dsl builder
-
asyncStopListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder asyncStopListener(String asyncStopListener)
Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
asyncStopListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
asyncStopListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
asyncStopListener- the value to set- Returns:
- the dsl builder
-
destinationResolver
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder destinationResolver(org.springframework.jms.support.destination.DestinationResolver destinationResolver)
A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). The option is a: <code>org.springframework.jms.support.destination.DestinationResolver</code> type. Group: advanced- Specified by:
destinationResolverin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
destinationResolverin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
destinationResolver- the value to set- Returns:
- the dsl builder
-
destinationResolver
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder destinationResolver(String destinationResolver)
A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). The option will be converted to a <code>org.springframework.jms.support.destination.DestinationResolver</code> type. Group: advanced- Specified by:
destinationResolverin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
destinationResolverin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
destinationResolver- the value to set- Returns:
- the dsl builder
-
errorHandler
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder errorHandler(org.springframework.util.ErrorHandler errorHandler)
Specifies a org.springframework.util.ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message. By default these exceptions will be logged at the WARN level, if no errorHandler has been configured. You can configure logging level and whether stack traces should be logged using errorHandlerLoggingLevel and errorHandlerLogStackTrace options. This makes it much easier to configure, than having to code a custom errorHandler. The option is a: <code>org.springframework.util.ErrorHandler</code> type. Group: advanced- Specified by:
errorHandlerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
errorHandlerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
errorHandler- the value to set- Returns:
- the dsl builder
-
errorHandler
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder errorHandler(String errorHandler)
Specifies a org.springframework.util.ErrorHandler to be invoked in case of any uncaught exceptions thrown while processing a Message. By default these exceptions will be logged at the WARN level, if no errorHandler has been configured. You can configure logging level and whether stack traces should be logged using errorHandlerLoggingLevel and errorHandlerLogStackTrace options. This makes it much easier to configure, than having to code a custom errorHandler. The option will be converted to a <code>org.springframework.util.ErrorHandler</code> type. Group: advanced- Specified by:
errorHandlerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
errorHandlerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
errorHandler- the value to set- Returns:
- the dsl builder
-
exceptionListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder exceptionListener(javax.jms.ExceptionListener exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions. The option is a: <code>javax.jms.ExceptionListener</code> type. Group: advanced- Specified by:
exceptionListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
exceptionListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
exceptionListener- the value to set- Returns:
- the dsl builder
-
exceptionListener
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder exceptionListener(String exceptionListener)
Specifies the JMS Exception Listener that is to be notified of any underlying JMS exceptions. The option will be converted to a <code>javax.jms.ExceptionListener</code> type. Group: advanced- Specified by:
exceptionListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
exceptionListenerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
exceptionListener- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder headerFilterStrategy(org.apache.camel.spi.HeaderFilterStrategy headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option is a: <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Specified by:
headerFilterStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
headerFilterStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder headerFilterStrategy(String headerFilterStrategy)
To use a custom HeaderFilterStrategy to filter header to and from Camel message. The option will be converted to a <code>org.apache.camel.spi.HeaderFilterStrategy</code> type. Group: advanced- Specified by:
headerFilterStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
headerFilterStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
headerFilterStrategy- the value to set- Returns:
- the dsl builder
-
idleConsumerLimit
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder idleConsumerLimit(int idleConsumerLimit)
Specify the limit for the number of consumers that are allowed to be idle at any given time. The option is a: <code>int</code> type. Default: 1 Group: advanced- Specified by:
idleConsumerLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
idleConsumerLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
idleConsumerLimit- the value to set- Returns:
- the dsl builder
-
idleConsumerLimit
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder idleConsumerLimit(String idleConsumerLimit)
Specify the limit for the number of consumers that are allowed to be idle at any given time. The option will be converted to a <code>int</code> type. Default: 1 Group: advanced- Specified by:
idleConsumerLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
idleConsumerLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
idleConsumerLimit- the value to set- Returns:
- the dsl builder
-
idleTaskExecutionLimit
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder idleTaskExecutionLimit(int idleTaskExecutionLimit)
Specifies the limit for idle executions of a receive task, not having received any message within its execution. If this limit is reached, the task will shut down and leave receiving to other executing tasks (in the case of dynamic scheduling; see the maxConcurrentConsumers setting). There is additional doc available from Spring. The option is a: <code>int</code> type. Default: 1 Group: advanced- Specified by:
idleTaskExecutionLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
idleTaskExecutionLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
idleTaskExecutionLimit- the value to set- Returns:
- the dsl builder
-
idleTaskExecutionLimit
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder idleTaskExecutionLimit(String idleTaskExecutionLimit)
Specifies the limit for idle executions of a receive task, not having received any message within its execution. If this limit is reached, the task will shut down and leave receiving to other executing tasks (in the case of dynamic scheduling; see the maxConcurrentConsumers setting). There is additional doc available from Spring. The option will be converted to a <code>int</code> type. Default: 1 Group: advanced- Specified by:
idleTaskExecutionLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
idleTaskExecutionLimitin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
idleTaskExecutionLimit- the value to set- Returns:
- the dsl builder
-
includeAllJMSXProperties
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder includeAllJMSXProperties(boolean includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message. Setting this to true will include properties such as JMSXAppID, and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy then this option does not apply. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
includeAllJMSXPropertiesin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
includeAllJMSXPropertiesin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
includeAllJMSXProperties- the value to set- Returns:
- the dsl builder
-
includeAllJMSXProperties
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder includeAllJMSXProperties(String includeAllJMSXProperties)
Whether to include all JMSXxxx properties when mapping from JMS to Camel Message. Setting this to true will include properties such as JMSXAppID, and JMSXUserID etc. Note: If you are using a custom headerFilterStrategy then this option does not apply. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
includeAllJMSXPropertiesin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
includeAllJMSXPropertiesin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
includeAllJMSXProperties- the value to set- Returns:
- the dsl builder
-
jmsKeyFormatStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder jmsKeyFormatStrategy(org.apache.camel.component.jms.JmsKeyFormatStrategy jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides two implementations out of the box: default and passthrough. The default strategy will safely marshal dots and hyphens (. and -). The passthrough strategy leaves the key as is. Can be used for JMS brokers which do not care whether JMS header keys contain illegal characters. You can provide your own implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using the # notation. The option is a: <code>org.apache.camel.component.jms.JmsKeyFormatStrategy</code> type. Group: advanced- Specified by:
jmsKeyFormatStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
jmsKeyFormatStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
jmsKeyFormatStrategy- the value to set- Returns:
- the dsl builder
-
jmsKeyFormatStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder jmsKeyFormatStrategy(String jmsKeyFormatStrategy)
Pluggable strategy for encoding and decoding JMS keys so they can be compliant with the JMS specification. Camel provides two implementations out of the box: default and passthrough. The default strategy will safely marshal dots and hyphens (. and -). The passthrough strategy leaves the key as is. Can be used for JMS brokers which do not care whether JMS header keys contain illegal characters. You can provide your own implementation of the org.apache.camel.component.jms.JmsKeyFormatStrategy and refer to it using the # notation. The option will be converted to a <code>org.apache.camel.component.jms.JmsKeyFormatStrategy</code> type. Group: advanced- Specified by:
jmsKeyFormatStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
jmsKeyFormatStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
jmsKeyFormatStrategy- the value to set- Returns:
- the dsl builder
-
mapJmsMessage
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder mapJmsMessage(boolean mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Specified by:
mapJmsMessagein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
mapJmsMessagein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
mapJmsMessage- the value to set- Returns:
- the dsl builder
-
mapJmsMessage
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder mapJmsMessage(String mapJmsMessage)
Specifies whether Camel should auto map the received JMS message to a suited payload type, such as javax.jms.TextMessage to a String etc. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Specified by:
mapJmsMessagein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
mapJmsMessagein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
mapJmsMessage- the value to set- Returns:
- the dsl builder
-
maxMessagesPerTask
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder maxMessagesPerTask(int maxMessagesPerTask)
The number of messages per task. -1 is unlimited. If you use a range for concurrent consumers (eg min max), then this option can be used to set a value to eg 100 to control how fast the consumers will shrink when less work is required. The option is a: <code>int</code> type. Default: -1 Group: advanced- Specified by:
maxMessagesPerTaskin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
maxMessagesPerTaskin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
maxMessagesPerTask- the value to set- Returns:
- the dsl builder
-
maxMessagesPerTask
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder maxMessagesPerTask(String maxMessagesPerTask)
The number of messages per task. -1 is unlimited. If you use a range for concurrent consumers (eg min max), then this option can be used to set a value to eg 100 to control how fast the consumers will shrink when less work is required. The option will be converted to a <code>int</code> type. Default: -1 Group: advanced- Specified by:
maxMessagesPerTaskin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
maxMessagesPerTaskin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
maxMessagesPerTask- the value to set- Returns:
- the dsl builder
-
messageConverter
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageConverter(org.springframework.jms.support.converter.MessageConverter messageConverter)
To use a custom Spring org.springframework.jms.support.converter.MessageConverter so you can be in control how to map to/from a javax.jms.Message. The option is a: <code>org.springframework.jms.support.converter.MessageConverter</code> type. Group: advanced- Specified by:
messageConverterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageConverterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageConverter- the value to set- Returns:
- the dsl builder
-
messageConverter
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageConverter(String messageConverter)
To use a custom Spring org.springframework.jms.support.converter.MessageConverter so you can be in control how to map to/from a javax.jms.Message. The option will be converted to a <code>org.springframework.jms.support.converter.MessageConverter</code> type. Group: advanced- Specified by:
messageConverterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageConverterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageConverter- the value to set- Returns:
- the dsl builder
-
messageCreatedStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageCreatedStrategy(org.apache.camel.component.jms.MessageCreatedStrategy messageCreatedStrategy)
To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message. The option is a: <code>org.apache.camel.component.jms.MessageCreatedStrategy</code> type. Group: advanced- Specified by:
messageCreatedStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageCreatedStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageCreatedStrategy- the value to set- Returns:
- the dsl builder
-
messageCreatedStrategy
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageCreatedStrategy(String messageCreatedStrategy)
To use the given MessageCreatedStrategy which are invoked when Camel creates new instances of javax.jms.Message objects when Camel is sending a JMS message. The option will be converted to a <code>org.apache.camel.component.jms.MessageCreatedStrategy</code> type. Group: advanced- Specified by:
messageCreatedStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageCreatedStrategyin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageCreatedStrategy- the value to set- Returns:
- the dsl builder
-
messageIdEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageIdEnabled(boolean messageIdEnabled)
When sending, specifies whether message IDs should be added. This is just an hint to the JMS broker. If the JMS provider accepts this hint, these messages must have the message ID set to null; if the provider ignores the hint, the message ID must be set to its normal unique value. The option is a: <code>boolean</code> type. Default: true Group: advanced- Specified by:
messageIdEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageIdEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageIdEnabled- the value to set- Returns:
- the dsl builder
-
messageIdEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageIdEnabled(String messageIdEnabled)
When sending, specifies whether message IDs should be added. This is just an hint to the JMS broker. If the JMS provider accepts this hint, these messages must have the message ID set to null; if the provider ignores the hint, the message ID must be set to its normal unique value. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Specified by:
messageIdEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageIdEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageIdEnabled- the value to set- Returns:
- the dsl builder
-
messageListenerContainerFactory
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageListenerContainerFactory(org.apache.camel.component.jms.MessageListenerContainerFactory messageListenerContainerFactory)
Registry ID of the MessageListenerContainerFactory used to determine what org.springframework.jms.listener.AbstractMessageListenerContainer to use to consume messages. Setting this will automatically set consumerType to Custom. The option is a: <code>org.apache.camel.component.jms.MessageListenerContainerFactory</code> type. Group: advanced- Specified by:
messageListenerContainerFactoryin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageListenerContainerFactoryin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageListenerContainerFactory- the value to set- Returns:
- the dsl builder
-
messageListenerContainerFactory
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageListenerContainerFactory(String messageListenerContainerFactory)
Registry ID of the MessageListenerContainerFactory used to determine what org.springframework.jms.listener.AbstractMessageListenerContainer to use to consume messages. Setting this will automatically set consumerType to Custom. The option will be converted to a <code>org.apache.camel.component.jms.MessageListenerContainerFactory</code> type. Group: advanced- Specified by:
messageListenerContainerFactoryin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageListenerContainerFactoryin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageListenerContainerFactory- the value to set- Returns:
- the dsl builder
-
messageTimestampEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageTimestampEnabled(boolean messageTimestampEnabled)
Specifies whether timestamps should be enabled by default on sending messages. This is just an hint to the JMS broker. If the JMS provider accepts this hint, these messages must have the timestamp set to zero; if the provider ignores the hint the timestamp must be set to its normal value. The option is a: <code>boolean</code> type. Default: true Group: advanced- Specified by:
messageTimestampEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageTimestampEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageTimestampEnabled- the value to set- Returns:
- the dsl builder
-
messageTimestampEnabled
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder messageTimestampEnabled(String messageTimestampEnabled)
Specifies whether timestamps should be enabled by default on sending messages. This is just an hint to the JMS broker. If the JMS provider accepts this hint, these messages must have the timestamp set to zero; if the provider ignores the hint the timestamp must be set to its normal value. The option will be converted to a <code>boolean</code> type. Default: true Group: advanced- Specified by:
messageTimestampEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
messageTimestampEnabledin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
messageTimestampEnabled- the value to set- Returns:
- the dsl builder
-
pubSubNoLocal
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder pubSubNoLocal(boolean pubSubNoLocal)
Specifies whether to inhibit the delivery of messages published by its own connection. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
pubSubNoLocalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
pubSubNoLocalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
pubSubNoLocal- the value to set- Returns:
- the dsl builder
-
pubSubNoLocal
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder pubSubNoLocal(String pubSubNoLocal)
Specifies whether to inhibit the delivery of messages published by its own connection. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
pubSubNoLocalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
pubSubNoLocalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
pubSubNoLocal- the value to set- Returns:
- the dsl builder
-
receiveTimeout
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder receiveTimeout(long receiveTimeout)
The timeout for receiving messages (in milliseconds). The option is a: <code>long</code> type. Default: 1000 Group: advanced- Specified by:
receiveTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
receiveTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
receiveTimeout- the value to set- Returns:
- the dsl builder
-
receiveTimeout
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder receiveTimeout(String receiveTimeout)
The timeout for receiving messages (in milliseconds). The option will be converted to a <code>long</code> type. Default: 1000 Group: advanced- Specified by:
receiveTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
receiveTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
receiveTimeout- the value to set- Returns:
- the dsl builder
-
recoveryInterval
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder recoveryInterval(long recoveryInterval)
Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds. The option is a: <code>long</code> type. Default: 5000 Group: advanced- Specified by:
recoveryIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
recoveryIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
recoveryInterval- the value to set- Returns:
- the dsl builder
-
recoveryInterval
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder recoveryInterval(String recoveryInterval)
Specifies the interval between recovery attempts, i.e. when a connection is being refreshed, in milliseconds. The default is 5000 ms, that is, 5 seconds. The option will be converted to a <code>long</code> type. Default: 5000 Group: advanced- Specified by:
recoveryIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
recoveryIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
recoveryInterval- the value to set- Returns:
- the dsl builder
-
requestTimeoutCheckerInterval
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder requestTimeoutCheckerInterval(long requestTimeoutCheckerInterval)
Configures how often Camel should check for timed out Exchanges when doing request/reply over JMS. By default Camel checks once per second. But if you must react faster when a timeout occurs, then you can lower this interval, to check more frequently. The timeout is determined by the option requestTimeout. The option is a: <code>long</code> type. Default: 1000 Group: advanced- Specified by:
requestTimeoutCheckerIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
requestTimeoutCheckerIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
requestTimeoutCheckerInterval- the value to set- Returns:
- the dsl builder
-
requestTimeoutCheckerInterval
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder requestTimeoutCheckerInterval(String requestTimeoutCheckerInterval)
Configures how often Camel should check for timed out Exchanges when doing request/reply over JMS. By default Camel checks once per second. But if you must react faster when a timeout occurs, then you can lower this interval, to check more frequently. The timeout is determined by the option requestTimeout. The option will be converted to a <code>long</code> type. Default: 1000 Group: advanced- Specified by:
requestTimeoutCheckerIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
requestTimeoutCheckerIntervalin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
requestTimeoutCheckerInterval- the value to set- Returns:
- the dsl builder
-
synchronous
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder 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:
synchronousin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
synchronousin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
synchronous- the value to set- Returns:
- the dsl builder
-
synchronous
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder 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:
synchronousin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
synchronousin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
synchronous- the value to set- Returns:
- the dsl builder
-
transferException
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transferException(boolean transferException)
If enabled and you are using Request Reply messaging (InOut) and an Exchange failed on the consumer side, then the caused Exception will be send back in response as a javax.jms.ObjectMessage. If the client is Camel, the returned Exception is rethrown. This allows you to use Camel JMS as a bridge in your routing - for example, using persistent queues to enable robust routing. Notice that if you also have transferExchange enabled, this option takes precedence. The caught exception is required to be serializable. The original Exception on the consumer side can be wrapped in an outer exception such as org.apache.camel.RuntimeCamelException when returned to the producer. Use this with caution as the data is using Java Object serialization and requires the received to be able to deserialize the data at Class level, which forces a strong coupling between the producers and consumer!. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExceptionin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transferExceptionin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transferException- the value to set- Returns:
- the dsl builder
-
transferException
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transferException(String transferException)
If enabled and you are using Request Reply messaging (InOut) and an Exchange failed on the consumer side, then the caused Exception will be send back in response as a javax.jms.ObjectMessage. If the client is Camel, the returned Exception is rethrown. This allows you to use Camel JMS as a bridge in your routing - for example, using persistent queues to enable robust routing. Notice that if you also have transferExchange enabled, this option takes precedence. The caught exception is required to be serializable. The original Exception on the consumer side can be wrapped in an outer exception such as org.apache.camel.RuntimeCamelException when returned to the producer. Use this with caution as the data is using Java Object serialization and requires the received to be able to deserialize the data at Class level, which forces a strong coupling between the producers and consumer!. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExceptionin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transferExceptionin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transferException- the value to set- Returns:
- the dsl builder
-
transferExchange
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transferExchange(boolean transferExchange)
You can transfer the exchange over the wire instead of just the body and headers. The following fields are transferred: In body, Out body, Fault body, In headers, Out headers, Fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. You must enable this option on both the producer and consumer side, so Camel knows the payloads is an Exchange and not a regular payload. Use this with caution as the data is using Java Object serialization and requires the receiver to be able to deserialize the data at Class level, which forces a strong coupling between the producers and consumers having to use compatible Camel versions!. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExchangein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transferExchangein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transferExchange- the value to set- Returns:
- the dsl builder
-
transferExchange
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transferExchange(String transferExchange)
You can transfer the exchange over the wire instead of just the body and headers. The following fields are transferred: In body, Out body, Fault body, In headers, Out headers, Fault headers, exchange properties, exchange exception. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. You must enable this option on both the producer and consumer side, so Camel knows the payloads is an Exchange and not a regular payload. Use this with caution as the data is using Java Object serialization and requires the receiver to be able to deserialize the data at Class level, which forces a strong coupling between the producers and consumers having to use compatible Camel versions!. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
transferExchangein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transferExchangein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transferExchange- the value to set- Returns:
- the dsl builder
-
useMessageIDAsCorrelationID
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder useMessageIDAsCorrelationID(boolean useMessageIDAsCorrelationID)
Specifies whether JMSMessageID should always be used as JMSCorrelationID for InOut messages. The option is a: <code>boolean</code> type. Default: false Group: advanced- Specified by:
useMessageIDAsCorrelationIDin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
useMessageIDAsCorrelationIDin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
useMessageIDAsCorrelationID- the value to set- Returns:
- the dsl builder
-
useMessageIDAsCorrelationID
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder useMessageIDAsCorrelationID(String useMessageIDAsCorrelationID)
Specifies whether JMSMessageID should always be used as JMSCorrelationID for InOut messages. The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Specified by:
useMessageIDAsCorrelationIDin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
useMessageIDAsCorrelationIDin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
useMessageIDAsCorrelationID- the value to set- Returns:
- the dsl builder
-
waitForProvisionCorrelationToBeUpdatedCounter
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder waitForProvisionCorrelationToBeUpdatedCounter(int waitForProvisionCorrelationToBeUpdatedCounter)
Number of times to wait for provisional correlation id to be updated to the actual correlation id when doing request/reply over JMS and when the option useMessageIDAsCorrelationID is enabled. The option is a: <code>int</code> type. Default: 50 Group: advanced- Specified by:
waitForProvisionCorrelationToBeUpdatedCounterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
waitForProvisionCorrelationToBeUpdatedCounterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
waitForProvisionCorrelationToBeUpdatedCounter- the value to set- Returns:
- the dsl builder
-
waitForProvisionCorrelationToBeUpdatedCounter
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder waitForProvisionCorrelationToBeUpdatedCounter(String waitForProvisionCorrelationToBeUpdatedCounter)
Number of times to wait for provisional correlation id to be updated to the actual correlation id when doing request/reply over JMS and when the option useMessageIDAsCorrelationID is enabled. The option will be converted to a <code>int</code> type. Default: 50 Group: advanced- Specified by:
waitForProvisionCorrelationToBeUpdatedCounterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
waitForProvisionCorrelationToBeUpdatedCounterin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
waitForProvisionCorrelationToBeUpdatedCounter- the value to set- Returns:
- the dsl builder
-
waitForProvisionCorrelationToBeUpdatedThreadSleepingTime
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder waitForProvisionCorrelationToBeUpdatedThreadSleepingTime(long waitForProvisionCorrelationToBeUpdatedThreadSleepingTime)
Interval in millis to sleep each time while waiting for provisional correlation id to be updated. The option is a: <code>long</code> type. Default: 100 Group: advanced- Specified by:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTimein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTimein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTime- the value to set- Returns:
- the dsl builder
-
waitForProvisionCorrelationToBeUpdatedThreadSleepingTime
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder waitForProvisionCorrelationToBeUpdatedThreadSleepingTime(String waitForProvisionCorrelationToBeUpdatedThreadSleepingTime)
Interval in millis to sleep each time while waiting for provisional correlation id to be updated. The option will be converted to a <code>long</code> type. Default: 100 Group: advanced- Specified by:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTimein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTimein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
waitForProvisionCorrelationToBeUpdatedThreadSleepingTime- the value to set- Returns:
- the dsl builder
-
lazyCreateTransactionManager
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder lazyCreateTransactionManager(boolean lazyCreateTransactionManager)
If true, Camel will create a JmsTransactionManager, if there is no transactionManager injected when option transacted=true. The option is a: <code>boolean</code> type. Default: true Group: transaction (advanced)- Specified by:
lazyCreateTransactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
lazyCreateTransactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
lazyCreateTransactionManager- the value to set- Returns:
- the dsl builder
-
lazyCreateTransactionManager
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder lazyCreateTransactionManager(String lazyCreateTransactionManager)
If true, Camel will create a JmsTransactionManager, if there is no transactionManager injected when option transacted=true. The option will be converted to a <code>boolean</code> type. Default: true Group: transaction (advanced)- Specified by:
lazyCreateTransactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
lazyCreateTransactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
lazyCreateTransactionManager- the value to set- Returns:
- the dsl builder
-
transactionManager
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
The Spring transaction manager to use. The option is a: <code>org.springframework.transaction.PlatformTransactionManager</code> type. Group: transaction (advanced)- Specified by:
transactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transactionManager- the value to set- Returns:
- the dsl builder
-
transactionManager
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transactionManager(String transactionManager)
The Spring transaction manager to use. The option will be converted to a <code>org.springframework.transaction.PlatformTransactionManager</code> type. Group: transaction (advanced)- Specified by:
transactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transactionManagerin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transactionManager- the value to set- Returns:
- the dsl builder
-
transactionName
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transactionName(String transactionName)
The name of the transaction to use. The option is a: <code>java.lang.String</code> type. Group: transaction (advanced)- Specified by:
transactionNamein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transactionNamein interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transactionName- the value to set- Returns:
- the dsl builder
-
transactionTimeout
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transactionTimeout(int transactionTimeout)
The timeout value of the transaction (in seconds), if using transacted mode. The option is a: <code>int</code> type. Default: -1 Group: transaction (advanced)- Specified by:
transactionTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transactionTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transactionTimeout- the value to set- Returns:
- the dsl builder
-
transactionTimeout
default AMQPEndpointBuilderFactory.AdvancedAMQPEndpointBuilder transactionTimeout(String transactionTimeout)
The timeout value of the transaction (in seconds), if using transacted mode. The option will be converted to a <code>int</code> type. Default: -1 Group: transaction (advanced)- Specified by:
transactionTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointConsumerBuilder- Specified by:
transactionTimeoutin interfaceAMQPEndpointBuilderFactory.AdvancedAMQPEndpointProducerBuilder- Parameters:
transactionTimeout- the value to set- Returns:
- the dsl builder
-
-