This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 7f311f6 CAMEL-14923: Deprecated inOnly and inOut EIPs as you should
use to EIP instead and specify the pattern.
7f311f6 is described below
commit 7f311f6e0d3936143bd0eafb15c7937982569d9f
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Apr 25 12:23:38 2020 +0200
CAMEL-14923: Deprecated inOnly and inOut EIPs as you should use to EIP
instead and specify the pattern.
---
.../src/main/java/org/apache/camel/model/ProcessorDefinition.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/core/camel-core-engine/src/main/java/org/apache/camel/model/ProcessorDefinition.java
b/core/camel-core-engine/src/main/java/org/apache/camel/model/ProcessorDefinition.java
index 5e90a10..2c53c7c 100644
---
a/core/camel-core-engine/src/main/java/org/apache/camel/model/ProcessorDefinition.java
+++
b/core/camel-core-engine/src/main/java/org/apache/camel/model/ProcessorDefinition.java
@@ -537,6 +537,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
* @param endpoints list of endpoints to send to
* @return the builder
*/
+ @Deprecated
public Type to(ExchangePattern pattern, Iterable<Endpoint> endpoints) {
for (Endpoint endpoint : endpoints) {
addOutput(new ToDefinition(endpoint, pattern));
@@ -994,6 +995,7 @@ public abstract class ProcessorDefinition<Type extends
ProcessorDefinition<Type>
* @param endpoints list of endpoints
* @return the builder
*/
+ @Deprecated
public Type pipeline(Collection<Endpoint> endpoints) {
PipelineDefinition answer = new PipelineDefinition();
for (Endpoint endpoint : endpoints) {