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.
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. |
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.