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/28 11:32:27 UTC

[jira] [Resolved] (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:all-tabpanel ]

Claus Ibsen resolved CAMEL-9257.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s: 2.16.1
                   2.17.0

Thanks for the PR

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.17.0, 2.16.1
>
>         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)