-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.1, jboss-fuse-6.2
-
%
-
-
-
6.3 Sprint 4 (Mar 28 - Apr 29)
Here's the query reference, http://camel.465427.n5.nabble.com/A-restarted-websocket-endpoint-no-longer-accepts-client-connections-td5760156.html
The websocket never really gets registered in the camelContext when the context is restarted. This prevents any new client connections to fail with the HandShake exception.
Attached you will find reproducers for this,
camel-example-twitter-websocket.zip \src\main\java\org\apache\camel\example\websocket\CamelTwitterWebSocketMain.java and TwitterWebSocketRoute.java. The code is completely linear, excepting for a small modification to the camel route in that second file. There are large blocks of text that are put to stdout between the steps describing exactly what is being done.
For the client side - WebsocketListenerForRedhat.zip, the complete source was in \source\testapp\TestApp.java and WebsocketClientEndpoint.java. When run, all that this program does is connect to the websocket and reflect anything that is received to stdout. It will exit by exception or Control-C. It may also time-out, but you only need to run it for a few seconds to prove the condition.
- is blocked by
-
ENTESB-5007 Unable to install camel-websocket and camel-cometd feature
- Closed
- is caused by
-
CAMEL-9049 Loading...
-
CAMEL-9257 Loading...