Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.15.0
-
None
-
Unknown
Description
We have lots of code doing this:
if (exchange.getPattern().isOutCapable()) { exchange.getOut().copyFrom(exchange.getIn()); exchange.getOut().setBody(body); } else { exchange.getIn().setBody(body); }
Because getOut is deprecated, this generates a lot of warnings. We can consolidate this logic in the ExchangeHelper class to simplify cleaning it up in the future.
Attachments
Issue Links
- is related to
-
CAMEL-15520 Cleanup deprecation warnings
-
- Resolved
-
- links to