Hi,

For example I have a bean:

@Component("myBean")
public class MyBean{
 
 public void foo(){
 }
 
}

And the route:

from("...").to("bean:myBean")

And works, but if I change the visibilty of MyBean to package fails:

@Component("myBean")
class MyBean{
 
 public void foo(){
 }
 
}

The route fails. I 've create the jira
https://issues.apache.org/jira/browse/CAMEL-6206, but was closed because it
was not very clear.

Thanks,
Juan






--
View this message in context: 
http://camel.465427.n5.nabble.com/Enable-to-use-default-scope-beans-tp5730283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to