This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch exchange-factory in repository https://gitbox.apache.org/repos/asf/camel.git
commit a57b17925fd98cbda585aae906b69765d1cf1e76 Author: Claus Ibsen <[email protected]> AuthorDate: Thu Feb 18 16:47:36 2021 +0100 CAMEL-16222: PooledExchangeFactory experiment --- .../src/main/java/org/apache/camel/spi/ExchangeFactory.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java b/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java index a666bdd..592f431 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/ExchangeFactory.java @@ -21,13 +21,14 @@ import org.apache.camel.Endpoint; import org.apache.camel.Exchange; /** - * Factory used by {@link Consumer} to create Camel {@link Exchange} holding the incoming message received by the consumer. + * Factory used by {@link Consumer} to create Camel {@link Exchange} holding the incoming message received by the + * consumer. * <p/> * This factory is only for {@link Consumer}'s to give control on how {@link Exchange} are created and comes into Camel. - * Each Camel component that provides a {@link Consumer} should use this {@link ExchangeFactory}. - * There may be other parts in Camel that creates {@link Exchange} such as sub exchanges from Splitter EIP, - * but they are not part of this contract as we only want to control the created {@link Exchange} that comes - * into Camel via {@link Consumer} or {@link org.apache.camel.PollingConsumer}. + * Each Camel component that provides a {@link Consumer} should use this {@link ExchangeFactory}. There may be other + * parts in Camel that creates {@link Exchange} such as sub exchanges from Splitter EIP, but they are not part of this + * contract as we only want to control the created {@link Exchange} that comes into Camel via {@link Consumer} or + * {@link org.apache.camel.PollingConsumer}. * <p/> * The factory is pluggable which allows to use different strategies. The default factory will create a new * {@link Exchange} instance, and the pooled factory will pool and reuse exchanges.
