akka.camel
Interface Producer

All Superinterfaces:
Actor, ProducerSupport
All Known Subinterfaces:
Oneway

public interface Producer
extends ProducerSupport

Mixed in by Actor implementations to produce messages to Camel endpoints.


Nested Class Summary
 
Nested classes/interfaces inherited from interface akka.actor.Actor
Actor.emptyBehavior$
 
Method Summary
 Camel camel()
          INTERNAL API Returns a Camel trait which provides access to the CamelExtension.
 org.apache.camel.impl.DefaultCamelContext camelContext()
          Returns the CamelContext.
 scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
          Implementation of Actor.receive.
 
Methods inherited from interface akka.camel.ProducerSupport
endpointUri, headersToCopy, headersToCopyDefault, oneway, preStart, produce, register, routeResponse, transformOutgoingMessage, transformResponse
 
Methods inherited from interface akka.actor.Actor
context, noSender, postRestart, postStop, preRestart, self, sender, supervisorStrategy, unhandled
 

Method Detail

receive

scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Implementation of Actor.receive. Any messages received by this actor will be produced to the endpoint specified by endpointUri.

Specified by:
receive in interface Actor

camel

Camel camel()
INTERNAL API Returns a Camel trait which provides access to the CamelExtension.


camelContext

org.apache.camel.impl.DefaultCamelContext camelContext()
Returns the CamelContext. The camelContext is defined implicit for simplifying the use of CamelMessage from the Scala API.