camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liugang (JIRA)" <>
Subject [jira] [Created] (CAMEL-5754) useOriginalMessage parameter of DefaultErrorHandler never be used
Date Mon, 29 Oct 2012 04:55:11 GMT
liugang created CAMEL-5754:

             Summary: useOriginalMessage parameter of DefaultErrorHandler never be used
                 Key: CAMEL-5754
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.2
         Environment: Camel 2.10.2 and old versions
            Reporter: liugang
            Priority: Minor

When declare a default error handle, the *useOriginalMessage* is configurable:
but is never be used, when creating *DefaultErrorHandler*, the passed parameter always false:
    public DefaultErrorHandler(CamelContext camelContext, Processor output, CamelLogger logger,
Processor redeliveryProcessor,
            RedeliveryPolicy redeliveryPolicy, ExceptionPolicyStrategy exceptionPolicyStrategy,
Predicate retryWhile, ScheduledExecutorService executorService) {

        super(camelContext, output, logger, redeliveryProcessor, redeliveryPolicy, null, null,
*false*, retryWhile, executorService);

but it works when using Dead letter queue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message