Uses of Class
org.apache.camel.ExchangePattern

Packages that use ExchangePattern
org.apache.camel The core Camel API. 
org.apache.camel.builder The Camel Domain Specific Language for creating Routes, Predicates, Expressions and Error Handlers
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. 
 

Uses of ExchangePattern in org.apache.camel
 

Fields in org.apache.camel with type parameters of type ExchangePattern
protected static Map<String,ExchangePattern> ExchangePattern.MAP
           
 

Methods in org.apache.camel that return ExchangePattern
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.
 

Methods in org.apache.camel with parameters of type ExchangePattern
 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
 Exchange Producer.createExchange(ExchangePattern pattern)
          Creates a new exchange of the given pattern to send to this endpoint
 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.
 

Uses of ExchangePattern in org.apache.camel.builder
 

Methods in org.apache.camel.builder with parameters of type ExchangePattern
 ExchangeBuilder ExchangeBuilder.withPattern(ExchangePattern pattern)
          Set the message exchange pattern on the exchange
 

Uses of ExchangePattern in org.apache.camel.component.bean
 

Methods in org.apache.camel.component.bean that return ExchangePattern
 ExchangePattern MethodInfo.getPattern()
          Returns the ExchangePattern that should be used when invoking this method.
 

Methods in org.apache.camel.component.bean with parameters of type ExchangePattern
protected  Object AbstractCamelInvocationHandler.afterInvoke(Method method, Exchange exchange, ExchangePattern pattern, boolean isFuture)
           
protected  Object AbstractCamelInvocationHandler.invokeWithBody(Method method, Object body, ExchangePattern pattern)
           
 

Uses of ExchangePattern in org.apache.camel.component.mock
 

Methods in org.apache.camel.component.mock with parameters of type ExchangePattern
 void MockEndpoint.expectedExchangePattern(ExchangePattern exchangePattern)
          Adds an expectation that messages received should have the given exchange pattern
 

Uses of ExchangePattern in org.apache.camel.impl
 

Methods in org.apache.camel.impl that return ExchangePattern
 ExchangePattern DefaultEndpoint.getExchangePattern()
          Returns the default exchange pattern to use for createExchange().
 ExchangePattern DefaultExchange.getPattern()
           
 

Methods in org.apache.camel.impl with parameters of type ExchangePattern
 Exchange DefaultEndpoint.createExchange(ExchangePattern pattern)
           
 Exchange DefaultProducer.createExchange(ExchangePattern pattern)
           
 Exchange SynchronousDelegateProducer.createExchange(ExchangePattern pattern)
           
 Exchange InterceptSendToEndpoint.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)
           
 

Constructors in org.apache.camel.impl with parameters of type ExchangePattern
DefaultExchange(CamelContext context, ExchangePattern pattern)
           
DefaultExchange(Endpoint fromEndpoint, ExchangePattern pattern)
           
 

Uses of ExchangePattern in org.apache.camel.model
 

Methods in org.apache.camel.model that return ExchangePattern
 ExchangePattern SetExchangePatternDefinition.getPattern()
           
 ExchangePattern SendDefinition.getPattern()
           
 ExchangePattern ToDefinition.getPattern()
           
 ExchangePattern WireTapDefinition.getPattern()
           
 ExchangePattern InOnlyDefinition.getPattern()
           
 ExchangePattern InOutDefinition.getPattern()
           
 

Methods in org.apache.camel.model with parameters of type ExchangePattern
 SetExchangePatternDefinition SetExchangePatternDefinition.pattern(ExchangePattern pattern)
           
 ToDefinition ToDefinition.pattern(ExchangePattern pattern)
          Deprecated. will be removed in the near future. Instead use ProcessorDefinition.inOnly() or ProcessorDefinition.inOut()
 Type ProcessorDefinition.setExchangePattern(ExchangePattern exchangePattern)
          ExchangePattern: set the ExchangePattern into the Exchange.
 void SetExchangePatternDefinition.setPattern(ExchangePattern pattern)
           
 void ToDefinition.setPattern(ExchangePattern pattern)
          Sets the optional ExchangePattern used to invoke this endpoint
 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

 

Constructors in org.apache.camel.model with parameters of type ExchangePattern
SetExchangePatternDefinition(ExchangePattern pattern)
           
ToDefinition(Endpoint endpoint, ExchangePattern pattern)
           
ToDefinition(String uri, ExchangePattern pattern)
           
 

Uses of ExchangePattern in org.apache.camel.processor
 

Fields in org.apache.camel.processor declared as ExchangePattern
protected  ExchangePattern SendProcessor.pattern
           
 

Methods in org.apache.camel.processor that return ExchangePattern
 ExchangePattern SendProcessor.getPattern()
           
 

Methods in org.apache.camel.processor with parameters of type ExchangePattern
protected  Exchange SendProcessor.configureExchange(Exchange exchange, ExchangePattern pattern)
           
protected  Exchange WireTapProcessor.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)
           
 

Constructors in org.apache.camel.processor with parameters of type ExchangePattern
ExchangePatternProcessor(ExchangePattern ep)
           
SendProcessor(Endpoint destination, ExchangePattern pattern)
           
WireTapProcessor(Endpoint destination, Processor processor, ExchangePattern exchangePattern, ExecutorService executorService, boolean shutdownExecutorService)
           
 

Uses of ExchangePattern in org.apache.camel.util
 

Methods in org.apache.camel.util with parameters of type ExchangePattern
static Object ExchangeHelper.extractResultBody(Exchange exchange, ExchangePattern pattern)
          Extracts the body from the given exchange.
 



Apache Camel