You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2018/11/15 08:51:17 UTC
[camel] branch camel-2.22.x updated: CAMEL-12932 - Camel-AHC-WS:
Consumer parameters are not set
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-2.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.22.x by this push:
new b80ce05 CAMEL-12932 - Camel-AHC-WS: Consumer parameters are not set
b80ce05 is described below
commit b80ce05a8d51df91aff1bcde99abef5838b3e19a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Nov 15 09:46:50 2018 +0100
CAMEL-12932 - Camel-AHC-WS: Consumer parameters are not set
---
.../src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
index c34b6ae..876e051 100644
--- a/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
+++ b/components/camel-ahc-ws/src/main/java/org/apache/camel/component/ahc/ws/WsEndpoint.java
@@ -68,7 +68,9 @@ public class WsEndpoint extends AhcEndpoint {
@Override
public Consumer createConsumer(Processor processor) throws Exception {
- return new WsConsumer(this, processor);
+ WsConsumer consumer = new WsConsumer(this, processor);
+ configureConsumer(consumer);
+ return consumer;
}
WebSocket getWebSocket() throws Exception {