@Component(value="myBean") public class SampleBean extends Object
saySomething() method.
Uses @Component("myBean") to register this bean with the name myBean
that we use in the Camel route to lookup this bean.| Constructor and Description |
|---|
SampleBean() |
public String saySomething()
Apache Camel