You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2016/11/10 13:18:58 UTC

[jira] [Commented] (CAMEL-10465) camel ahc uses netty 4.0.41 transitively but 4.1.5 explicitly - leads to runtime exceptions

    [ https://issues.apache.org/jira/browse/CAMEL-10465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654018#comment-15654018 ] 

Andrea Cosentino commented on CAMEL-10465:
------------------------------------------

I will take a look. Probably when we upgrade all the components to Netty 4.1.x we didn't notice this. Thanks for spotting this.

> camel ahc uses netty 4.0.41 transitively but 4.1.5 explicitly - leads to runtime exceptions
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-10465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10465
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ahc
>    Affects Versions: 2.18.0
>            Reporter: Justin Heesemann
>            Assignee: Andrea Cosentino
>
> See here (not created by myself, but I experienced the same issue with camel-ahc) http://stackoverflow.com/questions/40262870/camel-ahc-ws-netty-runtime-exception/40528271#40528271
> I see errors like:
> {code}
> java.lang.NoSuchMethodError: io.netty.buffer.ByteBuf.forEachByte(Lio/netty/buffer/ByteBufProcessor;)
> {code}
> When I'm sending http requests via camel-ahc.
> A workaround for me is to exclude netty-all 4.1.5 and use netty-all 4.0.41.Final instead
> Since there is no version of AsyncHttpClient out there which directly support 4.1.5 I'm not sure how to handle this if you need both camel-ahc and camel-netty (or whatever else is making direct use of netty 4.1.5)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)