Antoine DESSAIGNE created CAMEL-21343: -----------------------------------------
Summary: No longer possible to recreate camel-vm Key: CAMEL-21343 URL: https://issues.apache.org/jira/browse/CAMEL-21343 Project: Camel Issue Type: Bug Components: camel-seda Affects Versions: 4.7.0 Reporter: Antoine DESSAIGNE Hello, Since [this commit|https://github.com/apache/camel/commit/ed5cc8a6c9f54a4fdf25a2eed03fa528c8b0f9a1] related to CAMEL-20934, it's no longer possible to recreate camel-vm because the {{prepareExchange}} method no longer returns an {{Exchange}}. Previously it was possible to write code like this one: {code} protected Exchange prepareExchange(Exchange exchange) { Exchange result = copyExchangeWithProperties(exchange, m_camelContext); ExchangeExtension exchangeExtension = result.getExchangeExtension(); exchangeExtension.setFromEndpoint(getEndpoint()); exchangeExtension.setFromRouteId(getRouteId()); return result; } {code} Would it be possible to add back the ability to return the {{Exchange}} in the {{prepareExchange}} method? Thank you -- This message was sent by Atlassian Jira (v8.20.10#820010)