camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-9257) route stop/start doesn't work for camel-websocket producer
Date Tue, 27 Oct 2015 08:48:28 GMT

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

Mime
View raw message