Hello again :)

Could someone confirm that it is not possible to receive message from a remote 
websocket server with this "camel-vertx-websocket" component ? Or pointing out 
what I'm doing wrong ?
As far as I understand, currently it seems only possible to send message to a 
remote server.

Thanks!

Nicolas



De : CASAUX Nicolas
Envoyé : mercredi 16 décembre 2020 21:45
À : users@camel.apache.org
Objet : camel-vertx-websocket

Hello !

I'm currenty trying to use camel-vertx-websocket component to connect to a 
remote ActiveMQ through a "Stomp over Websocket" connection.
Since version 3.7.0 of Camel released today, I can successfully set the 
subprotocol in URI like this, and it works:

.to("vertxWebsocket://remoteActiveMQHost:61614/?clientSubProtocols=v12.stomp"))

My issue is I can't figure out how I'm supposed to receive the message which 
are sent by the ActiveMQ to my client.
Indeed, when I try to start another route with:

from("vertx-websocket://remoteActiveMQHost:61614/?clientSubProtocols=v12.stomp 
")

Vertx seems to try to start local server (and fails).
I tried to setup a VertxWebsocketEndpoint, with a specific 
VertxWebsocketConfiguration, but it always ends up by Vertx trying to start a 
server.

How could I write a route in such way I could receive messages from a remote 
Websocket endpoint ?

Thanks in advance!

Nicolas

Reply via email to