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

camel-netty psuedo proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.1
    • 2.9.3, 2.10.0
    • camel-netty
    • None
    • Unknown

    Description

      I have a route:

      from("netty:tcp://somewhere:1234?...")
      .to("bean:myBean?method=callOut")

      Where the callOut method does several things, followed by a producerTemplate call to another netty endpoint:

      producerTemplate.sendBody("netty:tcp://somewhereElse:6789...", ExchangePattern.InOut, body);

      I'm unable to proxy "directly" from/to the netty endpoints, and need to pass through this bean. However, I receive the following exception:

      Caused by: 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.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            matt.narrell Matt Narrell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: