INTERNAL API Returns a akka.camel.Camel trait which provides access to the CamelExtension.
INTERNAL API Returns a akka.camel.Camel trait which provides access to the CamelExtension.
Returns the CamelContext.
Returns the CamelContext. The camelContext is defined implicit for simplifying the use of CamelMessage from the Scala API.
Returns the Camel endpoint URI to produce messages to.
Returns the Camel endpoint URI to produce messages to.
Java API: Returns the akka.camel.Activation interface that can be used to wait on activation or de-activation of Camel endpoints.
Java API: Returns the akka.camel.Activation interface that can be used to wait on activation or de-activation of Camel endpoints.
the Activation interface
Returns the CamelContext
.
Returns the CamelContext
.
Returns the ProducerTemplate
.
Returns the ProducerTemplate
.
Returns the names of message headers to copy from a request message to a response message.
Returns the names of message headers to copy from a request message to a response message. By default only the CamelMessage.MessageExchangeId is copied. Applications may override this to define an application-specific set of message headers to copy.
If set to false (default), this producer expects a response message from the Camel endpoint.
If set to false (default), this producer expects a response message from the Camel endpoint. If set to true, this producer communicates with the Camel endpoint with an in-only message exchange pattern (fire and forget).
Default implementation of UntypedActor.onReceive
Default implementation of UntypedActor.onReceive
Called after a response was received from the endpoint specified by endpointUri
.
Called after a response was received from the endpoint specified by endpointUri
. The
response is passed as argument. By default, this method sends the response back to the original sender
if oneway
is false
. If oneway
is true
, nothing is
done. This method may be overridden by subclasses (e.g. to forward responses to another actor).
Called before the message is sent to the endpoint specified by getEndpointUri
.
Called before the message is sent to the endpoint specified by getEndpointUri
. The original
message is passed as argument. By default, this method simply returns the argument but may be overridden
by subclasses.
Called before the response message is sent to original sender.
Called before the response message is sent to original sender. The original message is passed as argument. By default, this method simply returns the argument but may be overridden by subclasses.
If set to false (default), this producer expects a response message from the Camel endpoint.
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).
Produces msg
to the endpoint specified by endpointUri
.
Produces msg
to the endpoint specified by endpointUri
. Before the message is
actually sent it is pre-processed by calling transformOutgoingMessage
. If oneway
is true
, an in-only message exchange is initiated, otherwise an in-out message exchange.
Producer#produce
Called after a response was received from the endpoint specified by endpointUri
.
Called after a response was received from the endpoint specified by endpointUri
. The
response is passed as argument. By default, this method sends the response back to the original sender
if oneway
is false
. If oneway
is true
, nothing is
done. This method may be overridden by subtraits or subclasses (e.g. to forward responses to another
actor).
Called before the message is sent to the endpoint specified by endpointUri
.
Called before the message is sent to the endpoint specified by endpointUri
. The original
message is passed as argument. By default, this method simply returns the argument but may be overridden
by subtraits or subclasses.
Called before the response message is sent to the original sender.
Called before the response message is sent to the original sender. The original message is passed as argument. By default, this method simply returns the argument but may be overridden by subtraits or subclasses.
Subclass this abstract class to create an untyped producer actor. This class is meant to be used from Java.
Akka Camel is deprecated since 2.5.0 in favour of 'Alpakka', the Akka Streams based collection of integrations to various endpoints (including Camel).