You need to use 2.10 to have JDK7 supported.
So what version of Camel do you use?

The annotations works fine for us, all the unit tests passes. As well the
examples works.


On Wed, Jun 13, 2012 at 2:36 PM, Emil <[email protected]> wrote:

> Hi Camel Users,
>
> In a proof of concept I was setting up on JDK7, I was having major issues
> trying to get things to work under JDK7 (using Camel & Gigaspaces). I
> assumed at first that something was wrong with my routes, my annotations,
> my
> config etc, but after seeing the following on the Camel Jira;
>
> https://issues.apache.org/jira/browse/CAMEL-4955
>
> I decided to test everything under JDK6 and suddenly everything worked as
> intended.
>
> In essence, the issue was that a XML-configured bean that has a
> @Consumer(uri = "direct:messageConsumer") method would not be detected by
> Camel as a consumer, and Camel would thus throw exceptions claiming there's
> no consumer on that route. However under JDK6 the exact same thing works
> without a hitch.
>
> So, I was wondering if anyone else has run into issues with Camel
> annotations under JDK7 and/or if the Camel team is aware of it? I don't see
> anything specific in that Jira that talks about annotations, so I thought
> I'd make a post and check with others before I raise it higher.
>
> Cheers,
> Emil
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-annotations-broken-under-JDK7-tp5714427.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to