DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
Service Activator
Camel has several endpoint components that support the Service Activator from the EIP patterns.
Components like Bean, CXF and Pojo provide a a way to bind the message exchange to a Java interface/service where the route defines the endpoints and wires it up to the bean.
In addition you can use the Bean Integration to wire messages to a bean using annotation.
Here is a simple example of using a Direct endpoint to create a messaging interface to a Pojo Bean service.
Using the Fluent Builders
| Code Block | ||||
|---|---|---|---|---|
| ||||
from("direct:invokeMyService").to("bean:myService");
|
Using the Spring XML Extensions
| Code Block | ||||
|---|---|---|---|---|
| ||||
<route>
<from uri="direct:invokeMyService"/>
<to uri="bean:myService"/>
</route>
|
See Also
| Include Page | ||||
|---|---|---|---|---|
|
