Interface SedaEndpointBuilderFactory.SedaEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
SedaEndpointBuilderFactory.SedaEndpointBuilder
- Enclosing interface:
SedaEndpointBuilderFactory
public static interface SedaEndpointBuilderFactory.SedaEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the SEDA component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()size(int size) The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).The maximum capacity of the SEDA queue (i.e., the number of messages it can hold).timeout(long timeout) Timeout before a SEDA producer will stop waiting for an asynchronous task to complete.Timeout before a SEDA producer will stop waiting for an asynchronous task to complete.waitForTaskToComplete(String waitForTaskToComplete) Option to specify whether the caller should wait for the async task to complete or not before continuing.waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete) Option to specify whether the caller should wait for the async task to complete or not before continuing.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
size
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the queueSize set on the SEDA component. The option is a:inttype. Default: 1000 Group: common- Parameters:
size- the value to set- Returns:
- the dsl builder
-
size
The maximum capacity of the SEDA queue (i.e., the number of messages it can hold). Will by default use the queueSize set on the SEDA component. The option will be converted to ainttype. Default: 1000 Group: common- Parameters:
size- the value to set- Returns:
- the dsl builder
-
timeout
Timeout before a SEDA producer will stop waiting for an asynchronous task to complete. You can disable timeout by using 0 or a negative value. The option is a:longtype. Default: 30000 Group: producer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
timeout
Timeout before a SEDA producer will stop waiting for an asynchronous task to complete. You can disable timeout by using 0 or a negative value. The option will be converted to alongtype. Default: 30000 Group: producer- Parameters:
timeout- the value to set- Returns:
- the dsl builder
-
waitForTaskToComplete
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(org.apache.camel.WaitForTaskToComplete waitForTaskToComplete) Option to specify whether the caller should wait for the async task to complete or not before continuing. The following three options are supported: Always, Never or IfReplyExpected. The first two values are self-explanatory. The last value, IfReplyExpected, will only wait if the message is Request Reply based. The default option is IfReplyExpected. The option is a:org.apache.camel.WaitForTaskToCompletetype. Default: IfReplyExpected Group: producer- Parameters:
waitForTaskToComplete- the value to set- Returns:
- the dsl builder
-
waitForTaskToComplete
default SedaEndpointBuilderFactory.SedaEndpointProducerBuilder waitForTaskToComplete(String waitForTaskToComplete) Option to specify whether the caller should wait for the async task to complete or not before continuing. The following three options are supported: Always, Never or IfReplyExpected. The first two values are self-explanatory. The last value, IfReplyExpected, will only wait if the message is Request Reply based. The default option is IfReplyExpected. The option will be converted to aorg.apache.camel.WaitForTaskToCompletetype. Default: IfReplyExpected Group: producer- Parameters:
waitForTaskToComplete- the value to set- Returns:
- the dsl builder
-