essobedo opened a new pull request #7247:
URL: https://github.com/apache/camel/pull/7247


   Fix for https://issues.apache.org/jira/browse/CAMEL-16628 (part 3)
   
   ## Motivation
   
   There are components that define their constants in an enum so it should be 
supported too.
   
   ## Modifications
   
   * Check if the header class is an enum and if so accept any field annotated 
with `@Metadata`
   * Use the name of the field as header name in case of an enum


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to