You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Tomohisa Igarashi (JIRA)" <ji...@apache.org> on 2015/10/26 14:29:27 UTC

[jira] [Updated] (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 ]

Tomohisa Igarashi updated CAMEL-9257:
-------------------------------------
    Attachment: WebsocketProducerRouteRestartTest.java

Attaching a testcase

> 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.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)