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

Deadlock in camel netty while sending messages to multiple tcp endpoints in single route

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.10.4, 2.11.0
    • Fix Version/s: 2.10.5, 2.11.1, 2.12.0
    • Component/s: camel-netty
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      we are getting the following exception when trying to use more than two netty endpoints in a single route.

      java.lang.IllegalStateException: await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread.

      Sample route :

      from("netty:tcp://localhost:7000textline=true") .bean(DummyProcessor.class)
      .to("netty:tcp://localhost:7001?textline=true") .bean(DummyProcessor.class)
      .to("netty:tcp://localhost:7002?textline=true")
      .bean(DummyProcessor.class)
      .to("netty:tcp://localhost:7003?textline=true")
      .bean(DummyProcessor.class)
      .to("netty:tcp://localhost:7004?textline=true")
      .bean(DummyProcessor.class);

      camel version : 2.11
      netty 3.6.5

      The same is working in 2.10.3 version.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kiranreddykasa kiran kumar reddy

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment