Package | Description |
---|---|
org.apache.camel |
The core Camel API.
|
Modifier and Type | Method and Description |
---|---|
FluentProducerTemplate |
FluentProducerTemplate.clearAll()
Deprecated.
the template automatic clears when sending
|
FluentProducerTemplate |
FluentProducerTemplate.clearBody()
Deprecated.
the template automatic clears when sending
|
FluentProducerTemplate |
FluentProducerTemplate.clearHeaders()
Deprecated.
the template automatic clears when sending
|
FluentProducerTemplate |
CamelContext.createFluentProducerTemplate()
Creates a new
FluentProducerTemplate which is started and therefore ready to use right away. |
FluentProducerTemplate |
CamelContext.createFluentProducerTemplate(int maximumCacheSize)
Creates a new
FluentProducerTemplate which is started and therefore ready to use right away. |
FluentProducerTemplate |
FluentProducerTemplate.to(Endpoint endpoint)
Endpoint to send to
|
default FluentProducerTemplate |
FluentProducerTemplate.to(EndpointProducerResolver resolver)
Endpoint to send to
|
default FluentProducerTemplate |
FluentProducerTemplate.to(String endpointUri)
Endpoint to send to
|
default FluentProducerTemplate |
FluentProducerTemplate.toF(String uri,
Object... args)
Endpoint to send to.
|
FluentProducerTemplate |
FluentProducerTemplate.withBody(Object body)
Set the message body
Important: You can either only use either withExchange, or withProcessor or a combination of
withBody/withHeaders to construct the message to be sent.
|
FluentProducerTemplate |
FluentProducerTemplate.withBodyAs(Object body,
Class<?> type)
Set the message body after converting it to the given type
Important: You can either only use either withExchange, or withProcessor or a combination of
withBody/withHeaders to construct the message to be sent.
|
FluentProducerTemplate |
FluentProducerTemplate.withDefaultEndpoint(Endpoint endpoint)
Sets the default endpoint
|
FluentProducerTemplate |
FluentProducerTemplate.withDefaultEndpoint(EndpointProducerResolver resolver)
Sets the default endpoint
|
FluentProducerTemplate |
FluentProducerTemplate.withDefaultEndpoint(String endpointUri)
Sets the default endpoint
|
FluentProducerTemplate |
FluentProducerTemplate.withExchange(Exchange exchange)
Set the exchange to use for send.
|
FluentProducerTemplate |
FluentProducerTemplate.withExchange(Supplier<Exchange> exchangeSupplier)
Set the exchangeSupplier which will be invoke to get the exchange to be used for send.
|
FluentProducerTemplate |
FluentProducerTemplate.withHeader(String key,
Object value)
Set the header
Important: You can either only use either withExchange, or withProcessor or a combination of
withBody/withHeaders to construct the message to be sent.
|
FluentProducerTemplate |
FluentProducerTemplate.withHeaders(Map<String,Object> headers)
Set the headers
Important: You can either only use either withExchange, or withProcessor or a combination of
withBody/withHeaders to construct the message to be sent.
|
FluentProducerTemplate |
FluentProducerTemplate.withProcessor(Processor processor)
Set the processor to use for send/request.
|
FluentProducerTemplate |
FluentProducerTemplate.withProcessor(Supplier<Processor> processorSupplier)
Set the processorSupplier which will be invoke to get the processor to be used for send/request.
|
FluentProducerTemplate |
FluentProducerTemplate.withTemplateCustomizer(Consumer<ProducerTemplate> templateCustomizer)
To customize the producer template for advanced usage like to set the executor service to use.
|
Apache Camel