[
https://issues.apache.org/jira/browse/CAMEL-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otavio Rodolfo Piske resolved CAMEL-15475.
------------------------------------------
Resolution: Fixed
I ended up fixing the test with a very easy change and the deprecation warning
is gone. So closing it.
> camel-jetty: incompatible HttpReturnDataNotInputStreamConvertableTest behavior
> ------------------------------------------------------------------------------
>
> Key: CAMEL-15475
> URL: https://issues.apache.org/jira/browse/CAMEL-15475
> Project: Camel
> Issue Type: Task
> Affects Versions: 3.5.0
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Minor
> Fix For: 3.19.0
>
>
> Changing the
> [HttpReturnDataNotInputStreamConvertableTest|https://github.com/apache/camel/blob/17fc35d195268a433c843de815400a17e9229587/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/HttpReturnDataNotInputStreamConvertableTest.java]
> test case in order to remove the deprecate the usage of getOut causes the
> test to fail.
>
> * Replacing it with getMessage() causes: `... <This is the response> but
> was: <>`
> * Replacing it with getIn() causes: `... <This is the response> but was: <>`
>
> This test likely needs more comprehensive changes.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)