[
https://issues.apache.org/jira/browse/CAMEL-15151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126282#comment-17126282
]
Brad Harvey commented on CAMEL-15151:
-------------------------------------
Proposed Solution:
Change ExceptionPolicy#createRedeliveryPolicy to use CamelContext#parseText
prior to calling LoggingLevel.valueOf
https://github.com/apache/camel/blob/master/core/camel-base/src/main/java/org/apache/camel/processor/errorhandler/ExceptionPolicy.java
> Cannot use placeholders on RedeliveryPolicy enums
> -------------------------------------------------
>
> Key: CAMEL-15151
> URL: https://issues.apache.org/jira/browse/CAMEL-15151
> Project: Camel
> Issue Type: Bug
> Components: camel-base
> Affects Versions: 3.3.0
> Reporter: Brad Harvey
> Priority: Minor
>
> <redeliveryPolicy retryAttemptedLogLevel="\{{placeholder}}"/> does not work
> due to IllegalArgumentException: no enum constant
> org.apache.camel.LoggingLevel.\{{placeholder}}.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)