Class DefaultErrorHandlerConfiguration
java.lang.Object
org.apache.camel.model.errorhandler.DefaultErrorHandlerConfiguration
- All Implemented Interfaces:
org.apache.camel.ErrorHandlerFactory
,DefaultErrorHandlerProperties
- Direct Known Subclasses:
DeadLetterChannelConfiguration
@Deprecated
public class DefaultErrorHandlerConfiguration
extends Object
implements DefaultErrorHandlerProperties
Deprecated.
Legacy error handler for XML DSL in camel-spring-xml/camel-blueprint
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ErrorHandlerFactory
Deprecated.Deprecated.org.apache.camel.processor.errorhandler.RedeliveryPolicy
Deprecated.Deprecated.Deprecated.org.apache.camel.spi.CamelLogger
Deprecated.org.apache.camel.Processor
Deprecated.Deprecated.org.apache.camel.Processor
Deprecated.Deprecated.org.apache.camel.Processor
Deprecated.Deprecated.org.apache.camel.processor.errorhandler.RedeliveryPolicy
Deprecated.org.apache.camel.Predicate
Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
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.void
setRetryWhile
(org.apache.camel.Predicate retryWhile) Deprecated.void
setRetryWhileRef
(String retryWhileRef) Deprecated.void
setUseOriginalBody
(boolean useOriginalBody) Deprecated.void
setUseOriginalMessage
(boolean useOriginalMessage) Deprecated.boolean
Deprecated.
-
Constructor Details
-
DefaultErrorHandlerConfiguration
public DefaultErrorHandlerConfiguration()Deprecated.
-
-
Method Details
-
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
-
getDefaultRedeliveryPolicy
public org.apache.camel.processor.errorhandler.RedeliveryPolicy getDefaultRedeliveryPolicy()Deprecated.- Specified by:
getDefaultRedeliveryPolicy
in interfaceDefaultErrorHandlerProperties
-
hasRedeliveryPolicy
public boolean hasRedeliveryPolicy()Deprecated.- Specified by:
hasRedeliveryPolicy
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.- Specified by:
setRedeliveryPolicy
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
Deprecated.- Specified by:
getOnRedeliveryRef
in interfaceDefaultErrorHandlerProperties
-
setOnRedeliveryRef
Deprecated.- Specified by:
setOnRedeliveryRef
in interfaceDefaultErrorHandlerProperties
-
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
Deprecated.- Specified by:
getRetryWhileRef
in interfaceDefaultErrorHandlerProperties
-
setRetryWhileRef
Deprecated.- Specified by:
setRetryWhileRef
in interfaceDefaultErrorHandlerProperties
-
getDeadLetterUri
Deprecated.- Specified by:
getDeadLetterUri
in interfaceDefaultErrorHandlerProperties
-
setDeadLetterUri
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
Deprecated.- Specified by:
getExecutorService
in interfaceDefaultErrorHandlerProperties
-
setExecutorService
Deprecated.- Specified by:
setExecutorService
in interfaceDefaultErrorHandlerProperties
-
getExecutorServiceRef
Deprecated.- Specified by:
getExecutorServiceRef
in interfaceDefaultErrorHandlerProperties
-
setExecutorServiceRef
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
Deprecated.- Specified by:
getOnPrepareFailureRef
in interfaceDefaultErrorHandlerProperties
-
setOnPrepareFailureRef
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
Deprecated.- Specified by:
getOnExceptionOccurredRef
in interfaceDefaultErrorHandlerProperties
-
setOnExceptionOccurredRef
Deprecated.- Specified by:
setOnExceptionOccurredRef
in interfaceDefaultErrorHandlerProperties
-
supportTransacted
public boolean supportTransacted()Deprecated.- Specified by:
supportTransacted
in interfaceorg.apache.camel.ErrorHandlerFactory
-
cloneBuilder
public org.apache.camel.ErrorHandlerFactory cloneBuilder()Deprecated.- Specified by:
cloneBuilder
in interfaceorg.apache.camel.ErrorHandlerFactory
-