You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/08/26 21:09:32 UTC

[GitHub] [camel] klease opened a new pull request #5999: CAMEL-16896: make DefaultMessage.getHeader() evaluate Expression values

klease opened a new pull request #5999:
URL: https://github.com/apache/camel/pull/5999


   Add a unit test illustrating the reported issue.
   Modify DefaultMessage.getHeader() methods to check if the value is an Expression and evaluate it. This is the same approach used in the mock method expectedHeaderReceived(). Refactor the getHeader() methods in DefaultMessage to remove duplicated code.
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus commented on pull request #5999: CAMEL-16896: make DefaultMessage.getHeader() evaluate Expression values

Posted by GitBox <gi...@apache.org>.
davsclaus commented on pull request #5999:
URL: https://github.com/apache/camel/pull/5999#issuecomment-907800918


   Posted a longer reply on the user mailing list.


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus closed pull request #5999: CAMEL-16896: make DefaultMessage.getHeader() evaluate Expression values

Posted by GitBox <gi...@apache.org>.
davsclaus closed pull request #5999:
URL: https://github.com/apache/camel/pull/5999


   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org