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 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 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.
Support trait for producing messages to Camel endpoints.