Uses of Enum Class
org.apache.camel.ExchangePattern
Packages that use ExchangePattern
-
Uses of ExchangePattern in org.apache.camel
Subclasses with type arguments of type ExchangePattern in org.apache.camelModifier and TypeClassDescriptionenumThe message exchange pattern of anExchange, indicating whether the caller expects a reply.Methods in org.apache.camel that return ExchangePatternModifier and TypeMethodDescriptionstatic ExchangePatternEndpoint.getExchangePattern()Returns the default exchange pattern to use when creating an exchange.Exchange.getPattern()Returns theExchangePattern(MEP) of this exchange.static ExchangePatternReturns 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 specifiedExchangePatternsuch as whether its going to be anExchangePattern.InOnlyorExchangePattern.InOutexchangeProducerTemplate.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
@Nullable ObjectProducerTemplate.sendBody(String endpointUri, ExchangePattern pattern, Object body) Send the body to an endpoint returning any result output body
@Nullable ObjectProducerTemplate.sendBody(Endpoint endpoint, ExchangePattern pattern, Object body) @Nullable ObjectProducerTemplate.sendBodyAndHeader(String endpoint, ExchangePattern pattern, Object body, String header, Object headerValue) Sends the body to an endpoint with a specified header and header value
@Nullable ObjectProducerTemplate.sendBodyAndHeader(Endpoint endpoint, ExchangePattern pattern, Object body, String header, Object headerValue) Sends the body to an endpoint with a specified header and header value
@Nullable ObjectProducerTemplate.sendBodyAndHeaders(String endpointUri, ExchangePattern pattern, Object body, Map<String, Object> headers) Sends the body to an endpoint with the specified headers and header values
@Nullable ObjectProducerTemplate.sendBodyAndHeaders(Endpoint endpoint, ExchangePattern pattern, Object body, Map<String, Object> headers) Sends the body to an endpoint with the specified headers and header values
@Nullable ObjectProducerTemplate.sendBodyAndProperty(String endpoint, ExchangePattern pattern, Object body, String property, Object propertyValue) Sends the body to an endpoint with a specified property and property value
@Nullable ObjectProducerTemplate.sendBodyAndProperty(Endpoint endpoint, ExchangePattern pattern, Object body, String property, Object propertyValue) Sends the body to an endpoint with a specified property and property value
voidExchange.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, @Nullable Processor resultProcessor, @Nullable Exchange exchange, @Nullable CompletableFuture<Exchange> future) Asynchronously sends an exchange to an endpoint using a suppliedProcessorto populate the exchangeProcessorExchangeFactory.create(Endpoint fromEndpoint, ExchangePattern exchangePattern) Gets a newExchange