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

Claus Ibsen commented on CAMEL-14020:
-------------------------------------

You cannot migrate all, as some old code relies on hasOut().

But generally if the code is something like

if hasOut()
   getOut ....
else
   getIn

Then you can just do

   getMessage



> Migrate deprecate getOut to getMessage in tests
> -----------------------------------------------
>
>                 Key: CAMEL-14020
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14020
>             Project: Camel
>          Issue Type: Task
>          Components: tests
>         Environment: When you compile a component then deprecated WARNs is 
> logged by the compiler. The getOut on Message should be using getMessage in 
> the tests.
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to