Package org.apache.camel.builder
Class LegacyDefaultErrorHandlerBuilder
- java.lang.Object
-
- org.apache.camel.builder.LegacyErrorHandlerBuilderSupport
-
- org.apache.camel.builder.LegacyDefaultErrorHandlerBuilder
-
- All Implemented Interfaces:
LegacyErrorHandlerBuilder
,org.apache.camel.ErrorHandlerFactory
,DefaultErrorHandlerProperties
- Direct Known Subclasses:
LegacyDeadLetterChannelBuilder
@Deprecated public class LegacyDefaultErrorHandlerBuilder extends LegacyErrorHandlerBuilderSupport implements DefaultErrorHandlerProperties
Deprecated.Legacy error handler for XML DSL in camel-spring-xml/camel-blueprint
-
-
Constructor Summary
Constructors Constructor Description LegacyDefaultErrorHandlerBuilder()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LegacyDefaultErrorHandlerBuilder
allowRedeliveryWhileStopping(boolean allowRedeliveryWhileStopping)
Deprecated.Controls whether to allow redelivery while stopping/shutting down a route that uses error handling.LegacyDefaultErrorHandlerBuilder
asyncDelayedRedelivery()
Deprecated.Will allow asynchronous delayed redeliveries.LegacyDefaultErrorHandlerBuilder
backOffMultiplier(double backOffMultiplier)
Deprecated.LegacyErrorHandlerBuilder
cloneBuilder()
Deprecated.protected void
cloneBuilder(LegacyDefaultErrorHandlerBuilder other)
Deprecated.LegacyDefaultErrorHandlerBuilder
collisionAvoidancePercent(double collisionAvoidancePercent)
Deprecated.protected org.apache.camel.spi.CamelLogger
createLogger()
Deprecated.protected org.apache.camel.processor.errorhandler.RedeliveryPolicy
createRedeliveryPolicy()
Deprecated.LegacyDefaultErrorHandlerBuilder
deadLetterHandleNewException(boolean handleNewException)
Deprecated.Whether the dead letter channel should handle (and ignore) any new exception that may been thrown during sending the message to the dead letter endpoint.LegacyDefaultErrorHandlerBuilder
delayPattern(String delayPattern)
Deprecated.LegacyDefaultErrorHandlerBuilder
disableRedelivery()
Deprecated.LegacyDefaultErrorHandlerBuilder
exchangeFormatterRef(String exchangeFormatterRef)
Deprecated.LegacyDefaultErrorHandlerBuilder
executorService(ScheduledExecutorService executorService)
Deprecated.Sets the thread pool to be used for redelivery.LegacyDefaultErrorHandlerBuilder
executorServiceRef(String ref)
Deprecated.Sets a reference to a thread pool to be used for redelivery.String
getDeadLetterUri()
Deprecated.org.apache.camel.processor.errorhandler.RedeliveryPolicy
getDefaultRedeliveryPolicy()
Deprecated.ScheduledExecutorService
getExecutorService()
Deprecated.String
getExecutorServiceRef()
Deprecated.org.apache.camel.spi.CamelLogger
getLogger()
Deprecated.org.apache.camel.Processor
getOnExceptionOccurred()
Deprecated.String
getOnExceptionOccurredRef()
Deprecated.org.apache.camel.Processor
getOnPrepareFailure()
Deprecated.String
getOnPrepareFailureRef()
Deprecated.org.apache.camel.Processor
getOnRedelivery()
Deprecated.String
getOnRedeliveryRef()
Deprecated.org.apache.camel.processor.errorhandler.RedeliveryPolicy
getRedeliveryPolicy()
Deprecated.org.apache.camel.Predicate
getRetryWhile()
Deprecated.org.apache.camel.Predicate
getRetryWhilePolicy(org.apache.camel.CamelContext context)
Deprecated.String
getRetryWhileRef()
Deprecated.boolean
hasLogger()
Deprecated.boolean
hasRedeliveryPolicy()
Deprecated.boolean
isAsyncDelayedRedelivery()
Deprecated.boolean
isDeadLetterHandleNewException()
Deprecated.boolean
isUseOriginalBody()
Deprecated.boolean
isUseOriginalMessage()
Deprecated.LegacyDefaultErrorHandlerBuilder
log(Class<?> log)
Deprecated.Sets the log used for caught exceptionsLegacyDefaultErrorHandlerBuilder
log(String log)
Deprecated.Sets the log used for caught exceptionsLegacyDefaultErrorHandlerBuilder
log(org.slf4j.Logger log)
Deprecated.Sets the log used for caught exceptionsLegacyDefaultErrorHandlerBuilder
logExhausted(boolean logExhausted)
Deprecated.LegacyDefaultErrorHandlerBuilder
logExhaustedMessageBody(boolean logExhaustedMessageBody)
Deprecated.LegacyDefaultErrorHandlerBuilder
logExhaustedMessageHistory(boolean logExhaustedMessageHistory)
Deprecated.LegacyDefaultErrorHandlerBuilder
logger(org.apache.camel.spi.CamelLogger logger)
Deprecated.Sets the logger used for caught exceptionsLegacyDefaultErrorHandlerBuilder
loggingLevel(org.apache.camel.LoggingLevel level)
Deprecated.Sets the logging level of exceptions caughtLegacyDefaultErrorHandlerBuilder
logHandled(boolean logHandled)
Deprecated.LegacyDefaultErrorHandlerBuilder
logNewException(boolean logNewException)
Deprecated.LegacyDefaultErrorHandlerBuilder
logRetryAttempted(boolean logRetryAttempted)
Deprecated.LegacyDefaultErrorHandlerBuilder
logRetryStackTrace(boolean logRetryStackTrace)
Deprecated.LegacyDefaultErrorHandlerBuilder
logStackTrace(boolean logStackTrace)
Deprecated.LegacyDefaultErrorHandlerBuilder
maximumRedeliveries(int maximumRedeliveries)
Deprecated.LegacyDefaultErrorHandlerBuilder
maximumRedeliveryDelay(long maximumRedeliveryDelay)
Deprecated.LegacyDefaultErrorHandlerBuilder
onExceptionOccurred(org.apache.camel.Processor processor)
Deprecated.Sets a customProcessor
to process theExchange
just after an exception was thrown.LegacyDefaultErrorHandlerBuilder
onExceptionOccurredRef(String onExceptionOccurredRef)
Deprecated.Sets a reference for the processor to use just after an exception was thrown.LegacyDefaultErrorHandlerBuilder
onPrepareFailure(org.apache.camel.Processor processor)
Deprecated.Sets a customProcessor
to prepare theExchange
before handled by the failure processor / dead letter channel.LegacyDefaultErrorHandlerBuilder
onPrepareFailureRef(String onPrepareFailureRef)
Deprecated.Sets a reference for the processor to use before handled by the failure processor.LegacyDefaultErrorHandlerBuilder
onRedelivery(org.apache.camel.Processor processor)
Deprecated.Sets a processor that should be processed before a redelivery attempt.LegacyDefaultErrorHandlerBuilder
onRedeliveryRef(String onRedeliveryRef)
Deprecated.Sets a reference for the processor to use before a redelivery attempt.LegacyDefaultErrorHandlerBuilder
redeliveryDelay(long delay)
Deprecated.LegacyDefaultErrorHandlerBuilder
retriesExhaustedLogLevel(org.apache.camel.LoggingLevel retriesExhaustedLogLevel)
Deprecated.LegacyDefaultErrorHandlerBuilder
retryAttemptedLogInterval(int retryAttemptedLogInterval)
Deprecated.LegacyDefaultErrorHandlerBuilder
retryAttemptedLogLevel(org.apache.camel.LoggingLevel retryAttemptedLogLevel)
Deprecated.LegacyDefaultErrorHandlerBuilder
retryWhile(org.apache.camel.Expression retryWhile)
Deprecated.Sets the retry while expression.LegacyDefaultErrorHandlerBuilder
retryWhileRef(String retryWhileRef)
Deprecated.void
setAsyncDelayedRedelivery(boolean asyncDelayedRedelivery)
Deprecated.void
setDeadLetterHandleNewException(boolean deadLetterHandleNewException)
Deprecated.void
setDeadLetterUri(String deadLetterUri)
Deprecated.void
setExecutorService(ScheduledExecutorService executorService)
Deprecated.void
setExecutorServiceRef(String executorServiceRef)
Deprecated.void
setLogger(org.apache.camel.spi.CamelLogger logger)
Deprecated.void
setOnExceptionOccurred(org.apache.camel.Processor onExceptionOccurred)
Deprecated.void
setOnExceptionOccurredRef(String onExceptionOccurredRef)
Deprecated.void
setOnPrepareFailure(org.apache.camel.Processor onPrepareFailure)
Deprecated.void
setOnPrepareFailureRef(String onPrepareFailureRef)
Deprecated.void
setOnRedelivery(org.apache.camel.Processor onRedelivery)
Deprecated.void
setOnRedeliveryRef(String onRedeliveryRef)
Deprecated.void
setRedeliveryPolicy(org.apache.camel.processor.errorhandler.RedeliveryPolicy redeliveryPolicy)
Deprecated.Sets the redelivery policyvoid
setRetryWhile(org.apache.camel.Predicate retryWhile)
Deprecated.void
setRetryWhileRef(String retryWhileRef)
Deprecated.void
setUseOriginalBody(boolean useOriginalBody)
Deprecated.void
setUseOriginalMessage(boolean useOriginalMessage)
Deprecated.boolean
supportTransacted()
Deprecated.String
toString()
Deprecated.LegacyDefaultErrorHandlerBuilder
useCollisionAvoidance()
Deprecated.LegacyDefaultErrorHandlerBuilder
useExponentialBackOff()
Deprecated.LegacyDefaultErrorHandlerBuilder
useOriginalBody()
Deprecated.Will use the original inputMessage
body (original body only) when anExchange
is moved to the dead letter queue.LegacyDefaultErrorHandlerBuilder
useOriginalMessage()
Deprecated.Will use the original inputMessage
(original body and headers) when anExchange
is moved to the dead letter queue.
-
-
-
Method Detail
-
supportTransacted
public boolean supportTransacted()
Deprecated.- Specified by:
supportTransacted
in interfaceorg.apache.camel.ErrorHandlerFactory
- Overrides:
supportTransacted
in classLegacyErrorHandlerBuilderSupport
-
cloneBuilder
public LegacyErrorHandlerBuilder cloneBuilder()
Deprecated.- Specified by:
cloneBuilder
in interfaceorg.apache.camel.ErrorHandlerFactory
-
cloneBuilder
protected void cloneBuilder(LegacyDefaultErrorHandlerBuilder other)
Deprecated.
-
backOffMultiplier
public LegacyDefaultErrorHandlerBuilder backOffMultiplier(double backOffMultiplier)
Deprecated.
-
collisionAvoidancePercent
public LegacyDefaultErrorHandlerBuilder collisionAvoidancePercent(double collisionAvoidancePercent)
Deprecated.
-
redeliveryDelay
public LegacyDefaultErrorHandlerBuilder redeliveryDelay(long delay)
Deprecated.
-
delayPattern
public LegacyDefaultErrorHandlerBuilder delayPattern(String delayPattern)
Deprecated.
-
maximumRedeliveries
public LegacyDefaultErrorHandlerBuilder maximumRedeliveries(int maximumRedeliveries)
Deprecated.
-
disableRedelivery
public LegacyDefaultErrorHandlerBuilder disableRedelivery()
Deprecated.
-
maximumRedeliveryDelay
public LegacyDefaultErrorHandlerBuilder maximumRedeliveryDelay(long maximumRedeliveryDelay)
Deprecated.
-
useCollisionAvoidance
public LegacyDefaultErrorHandlerBuilder useCollisionAvoidance()
Deprecated.
-
useExponentialBackOff
public LegacyDefaultErrorHandlerBuilder useExponentialBackOff()
Deprecated.
-
retriesExhaustedLogLevel
public LegacyDefaultErrorHandlerBuilder retriesExhaustedLogLevel(org.apache.camel.LoggingLevel retriesExhaustedLogLevel)
Deprecated.
-
retryAttemptedLogLevel
public LegacyDefaultErrorHandlerBuilder retryAttemptedLogLevel(org.apache.camel.LoggingLevel retryAttemptedLogLevel)
Deprecated.
-
retryAttemptedLogInterval
public LegacyDefaultErrorHandlerBuilder retryAttemptedLogInterval(int retryAttemptedLogInterval)
Deprecated.
-
logStackTrace
public LegacyDefaultErrorHandlerBuilder logStackTrace(boolean logStackTrace)
Deprecated.
-
logRetryStackTrace
public LegacyDefaultErrorHandlerBuilder logRetryStackTrace(boolean logRetryStackTrace)
Deprecated.
-
logHandled
public LegacyDefaultErrorHandlerBuilder logHandled(boolean logHandled)
Deprecated.
-
logNewException
public LegacyDefaultErrorHandlerBuilder logNewException(boolean logNewException)
Deprecated.
-
logExhausted
public LegacyDefaultErrorHandlerBuilder logExhausted(boolean logExhausted)
Deprecated.
-
logRetryAttempted
public LegacyDefaultErrorHandlerBuilder logRetryAttempted(boolean logRetryAttempted)
Deprecated.
-
logExhaustedMessageHistory
public LegacyDefaultErrorHandlerBuilder logExhaustedMessageHistory(boolean logExhaustedMessageHistory)
Deprecated.
-
logExhaustedMessageBody
public LegacyDefaultErrorHandlerBuilder logExhaustedMessageBody(boolean logExhaustedMessageBody)
Deprecated.
-
exchangeFormatterRef
public LegacyDefaultErrorHandlerBuilder exchangeFormatterRef(String exchangeFormatterRef)
Deprecated.
-
asyncDelayedRedelivery
public LegacyDefaultErrorHandlerBuilder asyncDelayedRedelivery()
Deprecated.Will allow asynchronous delayed redeliveries. The route, in particular the consumer's component, must support the Asynchronous Routing Engine (e.g. seda)- Returns:
- the builder
- See Also:
RedeliveryPolicy.setAsyncDelayedRedelivery(boolean)
-
allowRedeliveryWhileStopping
public LegacyDefaultErrorHandlerBuilder allowRedeliveryWhileStopping(boolean allowRedeliveryWhileStopping)
Deprecated.Controls whether to allow redelivery while stopping/shutting down a route that uses error handling.- Parameters:
allowRedeliveryWhileStopping
- true to allow redelivery, false to reject redeliveries- Returns:
- the builder
-
executorService
public LegacyDefaultErrorHandlerBuilder executorService(ScheduledExecutorService executorService)
Deprecated.Sets the thread pool to be used for redelivery.- Parameters:
executorService
- the scheduled thread pool to use- Returns:
- the builder.
-
executorServiceRef
public LegacyDefaultErrorHandlerBuilder executorServiceRef(String ref)
Deprecated.Sets a reference to a thread pool to be used for redelivery.- Parameters:
ref
- reference to a scheduled thread pool- Returns:
- the builder.
-
logger
public LegacyDefaultErrorHandlerBuilder logger(org.apache.camel.spi.CamelLogger logger)
Deprecated.Sets the logger used for caught exceptions- Parameters:
logger
- the logger- Returns:
- the builder
-
loggingLevel
public LegacyDefaultErrorHandlerBuilder loggingLevel(org.apache.camel.LoggingLevel level)
Deprecated.Sets the logging level of exceptions caught- Parameters:
level
- the logging level- Returns:
- the builder
-
log
public LegacyDefaultErrorHandlerBuilder log(org.slf4j.Logger log)
Deprecated.Sets the log used for caught exceptions- Parameters:
log
- the logger- Returns:
- the builder
-
log
public LegacyDefaultErrorHandlerBuilder log(String log)
Deprecated.Sets the log used for caught exceptions- Parameters:
log
- the log name- Returns:
- the builder
-
log
public LegacyDefaultErrorHandlerBuilder log(Class<?> log)
Deprecated.Sets the log used for caught exceptions- Parameters:
log
- the log class- Returns:
- the builder
-
onRedelivery
public LegacyDefaultErrorHandlerBuilder onRedelivery(org.apache.camel.Processor processor)
Deprecated.Sets a processor that should be processed before a redelivery attempt. Can be used to change theExchange
before its being redelivered.- Parameters:
processor
- the processor- Returns:
- the builder
-
onRedeliveryRef
public LegacyDefaultErrorHandlerBuilder onRedeliveryRef(String onRedeliveryRef)
Deprecated.Sets a reference for the processor to use before a redelivery attempt.- Parameters:
onRedeliveryRef
- the processor's reference- Returns:
- the builder
- See Also:
onRedelivery(Processor)
-
retryWhile
public LegacyDefaultErrorHandlerBuilder retryWhile(org.apache.camel.Expression retryWhile)
Deprecated.Sets the retry while expression. Will continue retrying until expression evaluates to false.- Parameters:
retryWhile
- expression that determines when to stop retrying- Returns:
- the builder
-
retryWhileRef
public LegacyDefaultErrorHandlerBuilder retryWhileRef(String retryWhileRef)
Deprecated.
-
useOriginalMessage
public LegacyDefaultErrorHandlerBuilder useOriginalMessage()
Deprecated.Will use the original inputMessage
(original body and headers) when anExchange
is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and theExchange
is doomed for failure.
Instead of using the current inprogressExchange
IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit theExchange
again as the IN message is the same as when Camel received it. So you should be able to send theExchange
to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. Important: The original input means the input message that are bounded by the currentUnitOfWork
. An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the split message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.- Returns:
- the builder
- See Also:
useOriginalBody()
-
useOriginalBody
public LegacyDefaultErrorHandlerBuilder useOriginalBody()
Deprecated.Will use the original inputMessage
body (original body only) when anExchange
is moved to the dead letter queue. Notice: this only applies when all redeliveries attempt have failed and theExchange
is doomed for failure.
Instead of using the current inprogressExchange
IN message we use the original IN message instead. This allows you to store the original input in the dead letter queue instead of the inprogress snapshot of the IN message. For instance if you route transform the IN body during routing and then failed. With the original exchange store in the dead letter queue it might be easier to manually re submit theExchange
again as the IN message is the same as when Camel received it. So you should be able to send theExchange
to the same input. The difference between useOriginalMessage and useOriginalBody is that the former includes both the original body and headers, where as the latter only includes the original body. You can use the latter to enrich the message with custom headers and include the original message body. The former wont let you do this, as its using the original message body and headers as they are. You cannot enable both useOriginalMessage and useOriginalBody. Important: The original input means the input message that are bounded by the currentUnitOfWork
. An unit of work typically spans one route, or multiple routes if they are connected using internal endpoints such as direct or seda. When messages is passed via external endpoints such as JMS or HTTP then the consumer will create a new unit of work, with the message it received as input as the original input. Also some EIP patterns such as splitter, multicast, will create a new unit of work boundary for the messages in their sub-route (eg the split message); however these EIPs have an option named shareUnitOfWork which allows to combine with the parent unit of work in regard to error handling and therefore use the parent original message. By default this feature is off.- Returns:
- the builder
- See Also:
useOriginalMessage()
-
deadLetterHandleNewException
public LegacyDefaultErrorHandlerBuilder deadLetterHandleNewException(boolean handleNewException)
Deprecated.Whether the dead letter channel should handle (and ignore) any new exception that may been thrown during sending the message to the dead letter endpoint. The default value is true which means any such kind of exception is handled and ignored. Set this to false to let the exception be propagated back on theExchange
. This can be used in situations where you use transactions, and want to use Camel's dead letter channel to deal with exceptions during routing, but if the dead letter channel itself fails because of a new exception being thrown, then by setting this to false the new exceptions is propagated back and set on theExchange
, which allows the transaction to detect the exception, and rollback.- Parameters:
handleNewException
- true to handle (and ignore), false to catch and propagated the exception on theExchange
- Returns:
- the builder
-
onPrepareFailure
public LegacyDefaultErrorHandlerBuilder onPrepareFailure(org.apache.camel.Processor processor)
Deprecated.Sets a customProcessor
to prepare theExchange
before handled by the failure processor / dead letter channel. This allows for example to enrich the message before sending to a dead letter queue.- Parameters:
processor
- the processor- Returns:
- the builder
-
onPrepareFailureRef
public LegacyDefaultErrorHandlerBuilder onPrepareFailureRef(String onPrepareFailureRef)
Deprecated.Sets a reference for the processor to use before handled by the failure processor.- Parameters:
onPrepareFailureRef
- the processor's reference- Returns:
- the builder
- See Also:
onPrepareFailure(Processor)
-
onExceptionOccurred
public LegacyDefaultErrorHandlerBuilder onExceptionOccurred(org.apache.camel.Processor processor)
Deprecated.Sets a customProcessor
to process theExchange
just after an exception was thrown. This allows to execute the processor at the same time the exception was thrown. Important: Any exception thrown from this processor will be ignored.- Parameters:
processor
- the processor- Returns:
- the builder
-
onExceptionOccurredRef
public LegacyDefaultErrorHandlerBuilder onExceptionOccurredRef(String onExceptionOccurredRef)
Deprecated.Sets a reference for the processor to use just after an exception was thrown.- Parameters:
onExceptionOccurredRef
- the processor's reference- Returns:
- the builder
- See Also:
onExceptionOccurred(Processor)
-
hasRedeliveryPolicy
public boolean hasRedeliveryPolicy()
Deprecated.- Specified by:
hasRedeliveryPolicy
in interfaceDefaultErrorHandlerProperties
-
getDefaultRedeliveryPolicy
public org.apache.camel.processor.errorhandler.RedeliveryPolicy getDefaultRedeliveryPolicy()
Deprecated.- Specified by:
getDefaultRedeliveryPolicy
in interfaceDefaultErrorHandlerProperties
-
getRedeliveryPolicy
public org.apache.camel.processor.errorhandler.RedeliveryPolicy getRedeliveryPolicy()
Deprecated.- Specified by:
getRedeliveryPolicy
in interfaceDefaultErrorHandlerProperties
-
setRedeliveryPolicy
public void setRedeliveryPolicy(org.apache.camel.processor.errorhandler.RedeliveryPolicy redeliveryPolicy)
Deprecated.Sets the redelivery policy- Specified by:
setRedeliveryPolicy
in interfaceDefaultErrorHandlerProperties
-
hasLogger
public boolean hasLogger()
Deprecated.- Specified by:
hasLogger
in interfaceDefaultErrorHandlerProperties
-
getLogger
public org.apache.camel.spi.CamelLogger getLogger()
Deprecated.- Specified by:
getLogger
in interfaceDefaultErrorHandlerProperties
-
setLogger
public void setLogger(org.apache.camel.spi.CamelLogger logger)
Deprecated.- Specified by:
setLogger
in interfaceDefaultErrorHandlerProperties
-
getOnRedelivery
public org.apache.camel.Processor getOnRedelivery()
Deprecated.- Specified by:
getOnRedelivery
in interfaceDefaultErrorHandlerProperties
-
setOnRedelivery
public void setOnRedelivery(org.apache.camel.Processor onRedelivery)
Deprecated.- Specified by:
setOnRedelivery
in interfaceDefaultErrorHandlerProperties
-
getOnRedeliveryRef
public String getOnRedeliveryRef()
Deprecated.- Specified by:
getOnRedeliveryRef
in interfaceDefaultErrorHandlerProperties
-
setOnRedeliveryRef
public void setOnRedeliveryRef(String onRedeliveryRef)
Deprecated.- Specified by:
setOnRedeliveryRef
in interfaceDefaultErrorHandlerProperties
-
getRetryWhilePolicy
public org.apache.camel.Predicate getRetryWhilePolicy(org.apache.camel.CamelContext context)
Deprecated.
-
getRetryWhile
public org.apache.camel.Predicate getRetryWhile()
Deprecated.- Specified by:
getRetryWhile
in interfaceDefaultErrorHandlerProperties
-
setRetryWhile
public void setRetryWhile(org.apache.camel.Predicate retryWhile)
Deprecated.- Specified by:
setRetryWhile
in interfaceDefaultErrorHandlerProperties
-
getRetryWhileRef
public String getRetryWhileRef()
Deprecated.- Specified by:
getRetryWhileRef
in interfaceDefaultErrorHandlerProperties
-
setRetryWhileRef
public void setRetryWhileRef(String retryWhileRef)
Deprecated.- Specified by:
setRetryWhileRef
in interfaceDefaultErrorHandlerProperties
-
getDeadLetterUri
public String getDeadLetterUri()
Deprecated.- Specified by:
getDeadLetterUri
in interfaceDefaultErrorHandlerProperties
-
setDeadLetterUri
public void setDeadLetterUri(String deadLetterUri)
Deprecated.- Specified by:
setDeadLetterUri
in interfaceDefaultErrorHandlerProperties
-
isDeadLetterHandleNewException
public boolean isDeadLetterHandleNewException()
Deprecated.- Specified by:
isDeadLetterHandleNewException
in interfaceDefaultErrorHandlerProperties
-
setDeadLetterHandleNewException
public void setDeadLetterHandleNewException(boolean deadLetterHandleNewException)
Deprecated.- Specified by:
setDeadLetterHandleNewException
in interfaceDefaultErrorHandlerProperties
-
isUseOriginalMessage
public boolean isUseOriginalMessage()
Deprecated.- Specified by:
isUseOriginalMessage
in interfaceDefaultErrorHandlerProperties
-
setUseOriginalMessage
public void setUseOriginalMessage(boolean useOriginalMessage)
Deprecated.- Specified by:
setUseOriginalMessage
in interfaceDefaultErrorHandlerProperties
-
isUseOriginalBody
public boolean isUseOriginalBody()
Deprecated.- Specified by:
isUseOriginalBody
in interfaceDefaultErrorHandlerProperties
-
setUseOriginalBody
public void setUseOriginalBody(boolean useOriginalBody)
Deprecated.- Specified by:
setUseOriginalBody
in interfaceDefaultErrorHandlerProperties
-
isAsyncDelayedRedelivery
public boolean isAsyncDelayedRedelivery()
Deprecated.- Specified by:
isAsyncDelayedRedelivery
in interfaceDefaultErrorHandlerProperties
-
setAsyncDelayedRedelivery
public void setAsyncDelayedRedelivery(boolean asyncDelayedRedelivery)
Deprecated.- Specified by:
setAsyncDelayedRedelivery
in interfaceDefaultErrorHandlerProperties
-
getExecutorService
public ScheduledExecutorService getExecutorService()
Deprecated.- Specified by:
getExecutorService
in interfaceDefaultErrorHandlerProperties
-
setExecutorService
public void setExecutorService(ScheduledExecutorService executorService)
Deprecated.- Specified by:
setExecutorService
in interfaceDefaultErrorHandlerProperties
-
getExecutorServiceRef
public String getExecutorServiceRef()
Deprecated.- Specified by:
getExecutorServiceRef
in interfaceDefaultErrorHandlerProperties
-
setExecutorServiceRef
public void setExecutorServiceRef(String executorServiceRef)
Deprecated.- Specified by:
setExecutorServiceRef
in interfaceDefaultErrorHandlerProperties
-
getOnPrepareFailure
public org.apache.camel.Processor getOnPrepareFailure()
Deprecated.- Specified by:
getOnPrepareFailure
in interfaceDefaultErrorHandlerProperties
-
setOnPrepareFailure
public void setOnPrepareFailure(org.apache.camel.Processor onPrepareFailure)
Deprecated.- Specified by:
setOnPrepareFailure
in interfaceDefaultErrorHandlerProperties
-
getOnPrepareFailureRef
public String getOnPrepareFailureRef()
Deprecated.- Specified by:
getOnPrepareFailureRef
in interfaceDefaultErrorHandlerProperties
-
setOnPrepareFailureRef
public void setOnPrepareFailureRef(String onPrepareFailureRef)
Deprecated.- Specified by:
setOnPrepareFailureRef
in interfaceDefaultErrorHandlerProperties
-
getOnExceptionOccurred
public org.apache.camel.Processor getOnExceptionOccurred()
Deprecated.- Specified by:
getOnExceptionOccurred
in interfaceDefaultErrorHandlerProperties
-
setOnExceptionOccurred
public void setOnExceptionOccurred(org.apache.camel.Processor onExceptionOccurred)
Deprecated.- Specified by:
setOnExceptionOccurred
in interfaceDefaultErrorHandlerProperties
-
getOnExceptionOccurredRef
public String getOnExceptionOccurredRef()
Deprecated.- Specified by:
getOnExceptionOccurredRef
in interfaceDefaultErrorHandlerProperties
-
setOnExceptionOccurredRef
public void setOnExceptionOccurredRef(String onExceptionOccurredRef)
Deprecated.- Specified by:
setOnExceptionOccurredRef
in interfaceDefaultErrorHandlerProperties
-
createRedeliveryPolicy
protected org.apache.camel.processor.errorhandler.RedeliveryPolicy createRedeliveryPolicy()
Deprecated.
-
createLogger
protected org.apache.camel.spi.CamelLogger createLogger()
Deprecated.
-
-