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/12/03 14:52:46 UTC

[camel] 02/03: 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 sandbox/camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 5eb1d5fa37f80c0d56cbfe620f054e3252d016e1
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 f453e3d..44e1d0c 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
@@ -67,7 +67,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 {