Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
org.apache.camel.builder | |
org.apache.camel.component.bean |
The Bean Component which will look up the
bean name in the Spring ApplicationContext and use that to dispatch messages to a POJO
|
org.apache.camel.component.mock |
The Mock Component which is used for testing of routing and mediation rules.
|
org.apache.camel.impl |
Default implementation classes for Camel Core
|
org.apache.camel.model |
The JAXB POJOs for the
XML Configuration
of the routing rules.
|
org.apache.camel.processor |
A collection of Processor
implementations which are used to implement the
Enterprise Integration Patterns
|
org.apache.camel.util |
Utility classes used by the core of Camel.
|
Modifier and Type | Field and Description |
---|---|
protected static Map<String,ExchangePattern> |
ExchangePattern.MAP |
Modifier and Type | Method and Description |
---|---|
static ExchangePattern |
ExchangePattern.asEnum(String value) |
static ExchangePattern |
ExchangePattern.fromWsdlUri(String wsdlUri)
Converts the WSDL URI into a
ExchangePattern instance |
ExchangePattern |
Exchange.getPattern()
Returns the
ExchangePattern (MEP) of this exchange. |
static ExchangePattern |
ExchangePattern.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExchangePattern[] |
ExchangePattern.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Exchange |
Producer.createExchange(ExchangePattern pattern)
Creates a new exchange of the given pattern to send to this endpoint
|
Exchange |
Endpoint.createExchange(ExchangePattern pattern)
Create a new exchange for communicating with this endpoint
with the specified
ExchangePattern such as whether its going
to be an InOnly or InOut exchange |
boolean |
AsyncProducerCallback.doInAsyncProducer(Producer producer,
AsyncProcessor asyncProducer,
Exchange exchange,
ExchangePattern exchangePattern,
AsyncCallback callback)
Performs operation on the given producer to send the given exchange.
|
T |
ProducerCallback.doInProducer(Producer producer,
Exchange exchange,
ExchangePattern exchangePattern)
Performs operation on the given producer to send the given exchange.
|
Exchange |
ProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Exchange |
ProducerTemplate.send(String endpointUri,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied processor
Notice: that if the processing of the exchange failed with an Exception it is not thrown from this method, but you can access it from the returned exchange using Exchange.getException() . |
Object |
ProducerTemplate.sendBody(Endpoint endpoint,
ExchangePattern pattern,
Object body)
Send the body to an endpoint with the given
ExchangePattern
returning any result output body
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBody(String endpointUri,
ExchangePattern pattern,
Object body)
Send the body to an endpoint returning any result output body
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndHeader(Endpoint endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndHeader(String endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue)
Sends the body to an endpoint with a specified header and header value
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndHeaders(Endpoint endpoint,
ExchangePattern pattern,
Object body,
Map<String,Object> headers)
Sends the body to an endpoint with the specified headers and header values
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndHeaders(String endpointUri,
ExchangePattern pattern,
Object body,
Map<String,Object> headers)
Sends the body to an endpoint with the specified headers and header values
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndProperty(Endpoint endpoint,
ExchangePattern pattern,
Object body,
String property,
Object propertyValue)
Sends the body to an endpoint with a specified property and property value
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
Object |
ProducerTemplate.sendBodyAndProperty(String endpoint,
ExchangePattern pattern,
Object body,
String property,
Object propertyValue)
Sends the body to an endpoint with a specified property and property value
Notice: that if the processing of the exchange failed with an Exception it is thrown from this method as a CamelExecutionException with
the caused exception wrapped. |
void |
Exchange.setPattern(ExchangePattern pattern)
Allows the
ExchangePattern (MEP) of this exchange to be customized. |
Modifier and Type | Method and Description |
---|---|
ExchangeBuilder |
ExchangeBuilder.withPattern(ExchangePattern pattern)
Set the message exchange pattern on the exchange
|
Modifier and Type | Method and Description |
---|---|
ExchangePattern |
MethodInfo.getPattern()
Returns the
ExchangePattern that should be used when invoking this method. |
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractCamelInvocationHandler.afterInvoke(Method method,
Exchange exchange,
ExchangePattern pattern,
boolean isFuture) |
protected Object |
AbstractCamelInvocationHandler.invokeWithBody(Method method,
Object body,
ExchangePattern pattern) |
Modifier and Type | Method and Description |
---|---|
void |
MockEndpoint.expectedExchangePattern(ExchangePattern exchangePattern)
Adds an expectation that messages received should have the given exchange pattern
|
Modifier and Type | Method and Description |
---|---|
ExchangePattern |
DefaultEndpoint.getExchangePattern()
Returns the default exchange pattern to use for createExchange().
|
ExchangePattern |
DefaultExchange.getPattern() |
Modifier and Type | Method and Description |
---|---|
Exchange |
SynchronousDelegateProducer.createExchange(ExchangePattern pattern) |
Exchange |
InterceptSendToEndpoint.createExchange(ExchangePattern pattern) |
Exchange |
DefaultProducer.createExchange(ExchangePattern pattern) |
Exchange |
DefaultEndpoint.createExchange(ExchangePattern pattern) |
boolean |
ProducerCache.doInAsyncProducer(Endpoint endpoint,
Exchange exchange,
ExchangePattern pattern,
AsyncCallback callback,
AsyncProducerCallback producerCallback)
Sends an exchange to an endpoint using a supplied callback supporting the asynchronous routing engine.
|
<T> T |
ProducerCache.doInProducer(Endpoint endpoint,
Exchange exchange,
ExchangePattern pattern,
ProducerCallback<T> callback)
Sends an exchange to an endpoint using a supplied callback, using the synchronous processing.
|
protected Object |
DefaultProducerTemplate.extractResultBody(Exchange result,
ExchangePattern pattern) |
Exchange |
ProducerCache.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor)
Sends an exchange to an endpoint using a supplied
Processor to populate the exchange |
Exchange |
DefaultProducerTemplate.send(Endpoint endpoint,
ExchangePattern pattern,
Processor processor) |
Exchange |
DefaultProducerTemplate.send(String endpointUri,
ExchangePattern pattern,
Processor processor) |
Object |
DefaultProducerTemplate.sendBody(Endpoint endpoint,
ExchangePattern pattern,
Object body) |
Object |
DefaultProducerTemplate.sendBody(String endpointUri,
ExchangePattern pattern,
Object body) |
Object |
DefaultProducerTemplate.sendBodyAndHeader(Endpoint endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue) |
Object |
DefaultProducerTemplate.sendBodyAndHeader(String endpoint,
ExchangePattern pattern,
Object body,
String header,
Object headerValue) |
Object |
DefaultProducerTemplate.sendBodyAndHeaders(Endpoint endpoint,
ExchangePattern pattern,
Object body,
Map<String,Object> headers) |
Object |
DefaultProducerTemplate.sendBodyAndHeaders(String endpointUri,
ExchangePattern pattern,
Object body,
Map<String,Object> headers) |
Object |
DefaultProducerTemplate.sendBodyAndProperty(Endpoint endpoint,
ExchangePattern pattern,
Object body,
String property,
Object propertyValue) |
Object |
DefaultProducerTemplate.sendBodyAndProperty(String endpoint,
ExchangePattern pattern,
Object body,
String property,
Object propertyValue) |
protected Exchange |
ProducerCache.sendExchange(Endpoint endpoint,
ExchangePattern pattern,
Processor processor,
Exchange exchange) |
void |
DefaultEndpoint.setExchangePattern(ExchangePattern exchangePattern)
Sets the default exchange pattern to use for
DefaultEndpoint.createExchange() . |
void |
DefaultExchange.setPattern(ExchangePattern pattern) |
Constructor and Description |
---|
DefaultExchange(CamelContext context,
ExchangePattern pattern) |
DefaultExchange(Endpoint fromEndpoint,
ExchangePattern pattern) |
Modifier and Type | Method and Description |
---|---|
ExchangePattern |
WireTapDefinition.getPattern() |
ExchangePattern |
ToDefinition.getPattern() |
ExchangePattern |
SetExchangePatternDefinition.getPattern() |
ExchangePattern |
SendDefinition.getPattern() |
ExchangePattern |
InOutDefinition.getPattern() |
ExchangePattern |
InOnlyDefinition.getPattern() |
Modifier and Type | Method and Description |
---|---|
ToDefinition |
ToDefinition.pattern(ExchangePattern pattern)
Deprecated.
will be removed in the near future. Instead use
ProcessorDefinition.inOnly()
or ProcessorDefinition.inOut() |
SetExchangePatternDefinition |
SetExchangePatternDefinition.pattern(ExchangePattern pattern) |
Type |
ProcessorDefinition.setExchangePattern(ExchangePattern exchangePattern)
|
void |
ToDefinition.setPattern(ExchangePattern pattern)
Sets the optional
ExchangePattern used to invoke this endpoint |
void |
SetExchangePatternDefinition.setPattern(ExchangePattern pattern) |
Type |
ProcessorDefinition.to(ExchangePattern pattern,
Endpoint... endpoints)
Sends the exchange to a list of endpoints
Notice the existing MEP is preserved
|
Type |
ProcessorDefinition.to(ExchangePattern pattern,
Endpoint endpoint)
Sends the exchange with certain exchange pattern to the given endpoint
Notice the existing MEP is preserved
|
Type |
ProcessorDefinition.to(ExchangePattern pattern,
Iterable<Endpoint> endpoints)
Sends the exchange to a list of endpoints
|
Type |
ProcessorDefinition.to(ExchangePattern pattern,
String... uris)
Sends the exchange to a list of endpoints
Notice the existing MEP is preserved
|
Type |
ProcessorDefinition.to(ExchangePattern pattern,
String uri)
Sends the exchange with certain exchange pattern to the given endpoint
Notice the existing MEP is preserved
|
Constructor and Description |
---|
SetExchangePatternDefinition(ExchangePattern pattern) |
ToDefinition(Endpoint endpoint,
ExchangePattern pattern) |
ToDefinition(String uri,
ExchangePattern pattern) |
Modifier and Type | Field and Description |
---|---|
protected ExchangePattern |
SendProcessor.pattern |
Modifier and Type | Method and Description |
---|---|
ExchangePattern |
SendProcessor.getPattern() |
Modifier and Type | Method and Description |
---|---|
protected Exchange |
WireTapProcessor.configureExchange(Exchange exchange,
ExchangePattern pattern) |
protected Exchange |
SendProcessor.configureExchange(Exchange exchange,
ExchangePattern pattern) |
Exchange |
UnitOfWorkProducer.createExchange(ExchangePattern pattern) |
protected Exchange |
Enricher.createResourceExchange(Exchange source,
ExchangePattern pattern)
Creates a new
DefaultExchange instance from the given
exchange . |
void |
ExchangePatternProcessor.setExchangePattern(ExchangePattern ep) |
Constructor and Description |
---|
ExchangePatternProcessor(ExchangePattern ep) |
SendProcessor(Endpoint destination,
ExchangePattern pattern) |
WireTapProcessor(Endpoint destination,
Processor processor,
ExchangePattern exchangePattern,
ExecutorService executorService,
boolean shutdownExecutorService) |
Modifier and Type | Method and Description |
---|---|
static Object |
ExchangeHelper.extractResultBody(Exchange exchange,
ExchangePattern pattern)
Extracts the body from the given exchange.
|
Apache Camel