Uses of Enum Class
org.apache.camel.ExchangePattern
Packages that use ExchangePattern
Package
Description
The core Camel API.
Service Provider Interfaces used by the Camel runtime which are plugin strategies.
-
Uses of ExchangePattern in org.apache.camel
Methods in org.apache.camel that return ExchangePatternModifier and TypeMethodDescriptionstatic ExchangePattern
Endpoint.getExchangePattern()
Returns the default exchange pattern to use when creating an exchange.Exchange.getPattern()
Returns theExchangePattern
(MEP) of this exchange.static ExchangePattern
Returns the enum constant of this class with the specified name.static ExchangePattern[]
ExchangePattern.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.camel with parameters of type ExchangePatternModifier and TypeMethodDescriptionEndpoint.createExchange
(ExchangePattern pattern) Create a new exchange for communicating with this endpoint with the specifiedExchangePattern
such as whether its going to be anInOnly
orInOut
exchangeProducerTemplate.send
(String endpointUri, ExchangePattern pattern, Processor processor) Sends an exchange to an endpoint using a supplied processor
ProducerTemplate.send
(Endpoint endpoint, ExchangePattern pattern, Processor processor) Sends an exchange to an endpoint using a supplied processor
ProducerTemplate.send
(Endpoint endpoint, ExchangePattern pattern, Processor processor, Processor resultProcessor) Sends an exchange to an endpoint using a supplied processor
ProducerTemplate.sendBody
(String endpointUri, ExchangePattern pattern, Object body) Send the body to an endpoint returning any result output body
ProducerTemplate.sendBody
(Endpoint endpoint, ExchangePattern pattern, Object body) 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
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
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
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
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
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
void
Exchange.setPattern
(ExchangePattern pattern) Allows theExchangePattern
(MEP) of this exchange to be customized. -
Uses of ExchangePattern in org.apache.camel.spi
Methods in org.apache.camel.spi with parameters of type ExchangePatternModifier and TypeMethodDescriptionProducerCache.asyncSendExchange
(Endpoint endpoint, ExchangePattern pattern, Processor processor, Processor resultProcessor, Exchange exchange, CompletableFuture<Exchange> future) Asynchronously sends an exchange to an endpoint using a suppliedProcessor
to populate the exchangeProcessorExchangeFactory.create
(Endpoint fromEndpoint, ExchangePattern exchangePattern) Gets a newExchange