THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Camel can instantiate the bean and invoke the method if given a class or invoke an already existing instance. This is illustrated from the example below:
NOTE This bean DSL is supported since Camel 2.0-M2
Code Block | ||||
---|---|---|---|---|
| ||||
from("activemq:topic:OrdersTopic"). filter().expression(bean(MyBean.class, "isGoldCustomer")). to("activemq:BigSpendersQueue"); |
...