Tomohisa Igarashi created CAMEL-9257:
----------------------------------------
Summary: route stop/start doesn't work for camel-websocket producer
Key: CAMEL-9257
URL: https://issues.apache.org/jira/browse/CAMEL-9257
Project: Camel
Issue Type: Bug
Components: camel-websocket
Affects Versions: 2.17.0
Reporter: Tomohisa Igarashi
If you just add stopRoute()&startRoute() at the beginning of
WebsocketProducerRouteExampleTest#testWSHttpCall(), it fails with 404 not found.
{code}
java.lang.IllegalStateException: Invalid Status Code 404"
type="java.util.concurrent.ExecutionException">java.util.concurrent.ExecutionException:
java.lang.IllegalStateException: Invalid Status Code 404
at
com.ning.http.client.providers.netty.future.NettyResponseFuture.done(NettyResponseFuture.java:220)
at
com.ning.http.client.providers.netty.handler.WebSocketProtocol.handle(WebSocketProtocol.java:102)
at
com.ning.http.client.providers.netty.handler.Processor.messageReceived(Processor.java:88)
..........
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)