This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 4e8707268be5d3f21fabad6aefbde8bcd1008302 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Mon Jun 20 10:42:00 2022 +0200 (chores) camel-bean: removed unused parameters --- .../apache/camel/component/bean/AbstractCamelInvocationHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java index 8a5ef875ea3..f5a15bef6eb 100644 --- a/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java +++ b/components/camel-bean/src/main/java/org/apache/camel/component/bean/AbstractCamelInvocationHandler.java @@ -188,7 +188,7 @@ public abstract class AbstractCamelInvocationHandler implements InvocationHandle LOG.trace("Proxied method call {} invoking producer: {}", method.getName(), producer); producer.process(exchange); - Object answer = afterInvoke(method, exchange, exchange.getPattern(), isFuture); + Object answer = afterInvoke(method, exchange, isFuture); LOG.trace("Proxied method call {} returning: {}", method.getName(), answer); return answer; } @@ -213,7 +213,7 @@ public abstract class AbstractCamelInvocationHandler implements InvocationHandle } } - protected Object afterInvoke(Method method, Exchange exchange, ExchangePattern pattern, boolean isFuture) throws Exception { + protected Object afterInvoke(Method method, Exchange exchange, boolean isFuture) throws Exception { // check if we had an exception Exception cause = exchange.getException(); if (cause != null) {
