[ 
https://issues.apache.org/jira/browse/CAMEL-5007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208263#comment-13208263
 ] 

Willem Jiang commented on CAMEL-5007:
-------------------------------------

Hi Alessio,

I just take a quick look at the code (ErrorHandlerDefinitionParser). It is hard 
to add the support of resolving the value of PropertiesComponent, as the 
ErrorHandlder is not bund to the camel context which provides a way to resolve 
the value of properties.

To address that, we may need to do refactor on the camel-core to delay the 
creation of the ErrorHandler or find a more generic way resolve the value of 
PropertiesComponent.  

For now, we could workaround it by using the property resolve of spring. 

Willem


                
> PropertiesComponent on errorHandler properties
> ----------------------------------------------
>
>                 Key: CAMEL-5007
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5007
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Alessio Giannetti
>            Priority: Minor
>
> PropertiesComponent should apply on errorHandler and redeliveryPolicy 
> properties definition in the camel context.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to