You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/06/13 13:41:42 UTC

[jira] [Resolved] (CAMEL-5151) camel-netty psuedo proxy

     [ https://issues.apache.org/jira/browse/CAMEL-5151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5151.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10.0
                   2.9.3

Should work now, also without using a bean, just by having from -> to
                
> camel-netty psuedo proxy
> ------------------------
>
>                 Key: CAMEL-5151
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5151
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-netty
>    Affects Versions: 2.9.1
>            Reporter: Matt Narrell
>            Assignee: Claus Ibsen
>             Fix For: 2.9.3, 2.10.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira