camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: How to impl bean-side of proxy w/Future return?
Date Fri, 15 Jul 2011 05:18:30 GMT
On Fri, Jul 15, 2011 at 12:36 AM, Jason Dillon <> wrote:
>>> <snip>
>>> java.util.concurrent.ExecutionException: java.lang.IllegalAccessException: Class
org.apache.camel.component.bean.MethodInfo can not access a member of class com.sonatype.overlord.xpi.AsyncProxyBeanCamelTest$1
with modifiers "public"
>> Are you have the implementation as an inner class in that unit test?
>> It seems like that since there is a $1 on the classname. If so make
>> sure its public static so its visible for introspection.
> I've got a few tests which use inner classes for the proxy intf + service impl which
work fine.
> The issue here is that the exception doesn't report what method it was looking for, only
that it can't access it.

I have created a ticket to improve the exception message

> --jason

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message