Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9257

route stop/start doesn't work for camel-websocket producer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.17.0
    • 2.16.1, 2.17.0
    • camel-websocket
    • None
    • Unknown

    Description

      If you just add stopRoute()&startRoute() at the beginning of WebsocketProducerRouteExampleTest#testWSHttpCall(), it fails with 404 not found.

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

      Attachments

        1. WebsocketProducerRouteRestartTest.java
          4 kB
          Tomohisa Igarashi

        Activity

          People

            davsclaus Claus Ibsen
            igarashitm Tomohisa Igarashi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: