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:00 UTC
[camel] branch camel-2.21.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.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new c894870 CAMEL-12932 - Camel-AHC-WS: Consumer parameters are not set
c894870 is described below
commit c894870b53a29bc692db3ff9cf85a8a7120042a4
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 10da4ac..08bf750 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 {