sends asynchronously to the given endpoint . concode_field_sep ProducerTemplate template concode_elem_sep Map<String,Object> headers concode_elem_sep Endpoint endpoint concode_elem_sep Supplier<Exchange> exchangeSupplier concode_elem_sep Consumer<ProducerTemplate> templateCustomizer concode_elem_sep ClassValue<ConvertBodyProcessor> resultProcessors concode_elem_sep CamelContext context concode_elem_sep Object body concode_elem_sep Supplier<Processor> processorSupplier concode_field_sep FluentProducerTemplate withExchange concode_elem_sep FluentProducerTemplate withExchange concode_elem_sep ProducerTemplate template concode_elem_sep FluentProducerTemplate withProcessor concode_elem_sep FluentProducerTemplate withProcessor concode_elem_sep Object request concode_elem_sep T request concode_elem_sep FluentProducerTemplate clearHeaders concode_elem_sep FluentProducerTemplate withBodyAs concode_elem_sep FluentProducerTemplate withHeader concode_elem_sep FluentProducerTemplate withBody concode_elem_sep Future<Object> asyncRequest concode_elem_sep Future<T> asyncRequest concode_elem_sep FluentProducerTemplate clearBody concode_elem_sep FluentProducerTemplate withTemplateCustomizer concode_elem_sep FluentProducerTemplate to concode_elem_sep FluentProducerTemplate to concode_elem_sep Exchange send concode_elem_sep FluentProducerTemplate on concode_elem_sep void populateExchange
Future < Exchange > function ( ) { return exchangeSupplier != null ? template ( ) . asyncSend ( endpoint , exchangeSupplier . get ( ) ) : template ( ) . asyncSend ( endpoint , processorSupplier . get ( ) ) ; }