You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/10/27 09:48:28 UTC
[jira] [Commented] (CAMEL-9257) route stop/start doesn't work for
camel-websocket producer
[ https://issues.apache.org/jira/browse/CAMEL-9257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976026#comment-14976026 ]
Claus Ibsen commented on CAMEL-9257:
------------------------------------
Try with suspend/resume to see if that works better.
> 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
> Attachments: WebsocketProducerRouteRestartTest.java
>
>
> If you just add stopRoute()&startRoute() at the beginning of WebsocketProducerRouteExampleTest#testWSHttpCall(), it fails with 404 not found.
> {code}
> 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)