Interface JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointBuilder
- Enclosing interface:
- JGroupsRaftEndpointBuilderFactory
public static interface JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the JGroups raft component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
enableRoleChangeEvents
(boolean enableRoleChangeEvents) If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine).enableRoleChangeEvents
(String enableRoleChangeEvents) If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine).Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
enableRoleChangeEvents
default JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder enableRoleChangeEvents(boolean enableRoleChangeEvents) If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine). By default it is set to false. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
enableRoleChangeEvents
- the value to set- Returns:
- the dsl builder
-
enableRoleChangeEvents
default JGroupsRaftEndpointBuilderFactory.JGroupsRaftEndpointConsumerBuilder enableRoleChangeEvents(String enableRoleChangeEvents) If set to true, the consumer endpoint will receive roleChange event as well (not just connecting and/or using the state machine). By default it is set to false. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
enableRoleChangeEvents
- the value to set- Returns:
- the dsl builder
-