You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Krzysztof Sobkowiak (JIRA)" <ji...@apache.org> on 2016/06/21 18:48:57 UTC

[jira] [Updated] (SM-3026) Camel Atmosphere Websocket doesn't work

     [ https://issues.apache.org/jira/browse/SM-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krzysztof Sobkowiak updated SM-3026:
------------------------------------
    Fix Version/s: 7.0.x

> Camel Atmosphere Websocket doesn't work
> ---------------------------------------
>
>                 Key: SM-3026
>                 URL: https://issues.apache.org/jira/browse/SM-3026
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 7.0.0.M1, 7.0.0.M2
>            Reporter: Michal Hlavac
>             Fix For: 7.0.x
>
>
> Using code from this [samples|https://github.com/elakito/testzone] following this [tutorial|https://github.com/elakito/testzone/blob/master/samples/instruction_osgi_camel_websocket_sample_route.txt] I did:
> {code}
> feature:install camel-atmosphere-websocket camel-ahc-ws
> install -s mvn:de.elakito.testzone.samples/osgi-camel-websocket-service-bp
> install -s mvn:de.elakito.testzone.samples/osgi-camel-websocket-sample-route-bp
> {code}
> Using [tyrus-client-cli.jar|http://central.maven.org/maven2/org/glassfish/tyrus/ext/tyrus-client-cli/1.12/tyrus-client-cli-1.12.jar] I get:
> {code}
> java -jar ./tyrus-client-cli-1.12.jar ws://localhost:8181/camel/websockets/hola
> # Connecting to ws://localhost:8181/camel/websockets/hola...
> # Failed to connect to ws://localhost:8181/camel/websockets/hola due to Handshake error.
> {code}
> This scenario works for SMX 6.1.1:
> {code}
> java -jar ./tyrus-client-cli-1.12.jar ws://localhost:8181/camel/websockets/hola
> # Connecting to ws://localhost:8181/camel/websockets/hola...
> # Connected in session a406aa49-87af-47f6-abac-3cb5fe306314
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)