Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This appendix shows you how to exchange messages with Akka actors over protocols and APIs supported by the great variety of Camel components. You saw how consumer actors can receive messages from Camel endpoints and producer actors can send messages to Camel endpoints. Setting up a Camel endpoint for an actor is as easy as defining an endpoint URI for that actor.
The prerequisite for running consumer and producer actors is a started Camel-Service that manages an application’s CamelContext. Applications can configure the CamelService either programmatically or declaratively based on custom Spring XML schemas provided by Akka and Camel.