Service Activator - 6.3

Talend ESB Mediation Developer Guide

EnrichVersion
6.3
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend ESB

Camel has several endpoint components that support the Service Activator from the EIP patterns.

Components like Camel Component: Bean, Camel Component: 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:

from("direct:invokeMyService").to("bean:myService");

Using the Spring XML Extensions:

<route>
    <from uri="direct:invokeMyService"/>
    <to uri="bean:myService"/>
</route>