camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tide08 <sachin2...@yahoo.com>
Subject Cannot resolve reference parameter, if Spring Proxy?
Date Fri, 19 Mar 2010 02:16:03 GMT

Version: 2.2.0

I have bean which is annotated for Spring's MethodMonitorInterceptor. Since
it is annotated it is proxy-ed by Spring on initialization.

It looks like camel cannot resolve reference to that parameter as it tries
to cast based class defined in Spring Context. Is there way to resolve this?

Example:

public class FooService {
   
   @Monitor
   public int add(){
    //do something
   }

}

Thanks!
-- 
View this message in context: http://old.nabble.com/Cannot-resolve-reference-parameter%2C-if-Spring-Proxy--tp27950880p27950880.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message