Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-3026

Camel Atmosphere Websocket doesn't work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.0.0.M1, 7.0.0.M2
    • 7.0.2
    • servicemix-camel
    • None

    Description

      Using code from this samples following this tutorial I did:

      feature:install camel-atmosphere-websocket camel-ahc-ws
      install -s mvn:de.elakito.testzone.samples/osgi-camel-websocket-service-bp
      install -s mvn:de.elakito.testzone.samples/osgi-camel-websocket-sample-route-bp
      

      Using tyrus-client-cli.jar I get:

      java -jar ./tyrus-client-cli-1.12.jar ws://localhost:8181/camel/websockets/hola
      # Connecting to ws://localhost:8181/camel/websockets/hola...
      # Failed to connect to ws://localhost:8181/camel/websockets/hola due to Handshake error.
      

      This scenario works for SMX 6.1.1:

      java -jar ./tyrus-client-cli-1.12.jar ws://localhost:8181/camel/websockets/hola
      # Connecting to ws://localhost:8181/camel/websockets/hola...
      # Connected in session a406aa49-87af-47f6-abac-3cb5fe306314
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hlavki Michal Hlavac
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: