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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.17.0
    • Fix Version/s: 2.16.1, 2.17.0
    • Component/s: camel-websocket
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: