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:47:42 UTC
[camel] branch master 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 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 5d8ac75 CAMEL-12932 - Camel-AHC-WS: Consumer parameters are not set
5d8ac75 is described below
commit 5d8ac7506ede74720f8675fe16891db0691cf466
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 {