akka.camel
Interface Oneway

All Superinterfaces:
Actor, Producer, ProducerSupport

public interface Oneway
extends Producer

A one-way producer.


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.
 boolean oneway()
          If set to false (default), this producer expects a response message from the Camel endpoint.
 
Methods inherited from interface akka.camel.Producer
receive
 
Methods inherited from interface akka.camel.ProducerSupport
endpointUri, headersToCopy, headersToCopyDefault, preStart, produce, register, routeResponse, transformOutgoingMessage, transformResponse
 
Methods inherited from interface akka.actor.Actor
context, noSender, postRestart, postStop, preRestart, self, sender, supervisorStrategy, unhandled
 

Method Detail

oneway

boolean oneway()
Description copied from interface: ProducerSupport
If set to false (default), this producer expects a response message from the Camel endpoint. If set to true, this producer initiates an in-only message exchange with the Camel endpoint (fire and forget).

Specified by:
oneway in interface ProducerSupport

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.