Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.0
-
None
-
mac, java 8
-
Unknown
Description
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 ticket is from this discussion thread: http://camel.465427.n5.nabble.com/Changes-in-Java-8-generics-breaking-Camel-td5760638.html