THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Wiki Markup |
---|
{snippet:id=invoke|lang=java|url=activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/component/pojo/PojoRouteTest.java} |
And the same route using Spring DSL:
Code Block | ||||
---|---|---|---|---|
| ||||
<route>
<from uri="direct:hello">
<to uri="bean:bye"/>
</route>
|
Bean as endpoint
Camel also supports invoking Bean as an Endpoint. In the route below:
...