Monats-Archive: Februar 2012

Strongly Typed Camel BeanBindings

The Apache Camel framework offers powerful mechanisms to determine which method of your beans to invoke. These are described here in the Camel documentation: http://camel.apache.org/bean-binding.html.   In practice, you have your beans defined with spring and declare their invocation in the Camel route definition either with „beanRef“: [codesyntax lang="java"] .beanRef("orderService", "doSomething") [/codesyntax] or with „to“: [codesyntax lang="java"] .to("bean:orderService?method=doSomething")…
Read more