This content has been marked as final.
Show 4 replies
-
1. Re: RecipientList annotation on an Interface does not work
njiang Jul 25, 2012 6:55 AM (in response to lekkie_lomotayo)How did you set up the routesManagementApi bean instance?
Willem
-
2. Re: RecipientList annotation on an Interface does not work
lekkie_lomotayo Jul 25, 2012 7:29 AM (in response to njiang)Its a service in my bundle-context-osgi.xml
Regards
-
3. Re: RecipientList annotation on an Interface does not work
njiang Jul 26, 2012 10:03 AM (in response to lekkie_lomotayo)It looks like Camel have some trouble to load annotations from the interface.
You can work around it by using the DSL directly like this
from("xxx").recipientList(method("myBean", "foo")).to("xxx");
Willem
-
4. Re: RecipientList annotation on an Interface does not work
lekkie_lomotayo Jul 27, 2012 5:43 AM (in response to njiang)Thanks, I did that already.