You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrew Celerity (JIRA)" <ji...@apache.org> on 2014/12/17 17:50:13 UTC

[jira] [Created] (CAMEL-8160) Generic methods used as endpoints fail in Java 8

Andrew Celerity created CAMEL-8160:
--------------------------------------

             Summary: Generic methods used as endpoints fail in Java 8
                 Key: CAMEL-8160
                 URL: https://issues.apache.org/jira/browse/CAMEL-8160
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.1, 2.14.0
         Environment: mac, java 8
            Reporter: Andrew Celerity


In Java 8 annotations are duplicated to generics' bridge methods.  Camel, rightly, does not support bridge methods as endpoints.  However, because of this change in the language annotations such as @Consume will end up on them after compilation leaving Camel in an invalid state.

I will attach a sample project.



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