Interface MasterEndpointBuilderFactory.MasterBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- MasterEndpointBuilderFactory
public static interface MasterEndpointBuilderFactory.MasterBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MasterEndpointBuilderFactory.MasterEndpointBuilder
master(String path)
Master (camel-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies.default MasterEndpointBuilderFactory.MasterEndpointBuilder
master(String componentName, String path)
Master (camel-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies.
-
-
-
Method Detail
-
master
default MasterEndpointBuilderFactory.MasterEndpointBuilder master(String path)
Master (camel-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies. Category: clustering Since: 2.20 Maven coordinates: org.apache.camel:camel-master Syntax:master:namespace:delegateUri
Path parameter: namespace (required) The name of the cluster namespace to use Path parameter: delegateUri (required) The endpoint uri to use in master/slave mode- Parameters:
path
- namespace:delegateUri- Returns:
- the dsl builder
-
master
default MasterEndpointBuilderFactory.MasterEndpointBuilder master(String componentName, String path)
Master (camel-master) Have only a single consumer in a cluster consuming from a given endpoint; with automatic failover if the JVM dies. Category: clustering Since: 2.20 Maven coordinates: org.apache.camel:camel-master Syntax:master:namespace:delegateUri
Path parameter: namespace (required) The name of the cluster namespace to use Path parameter: delegateUri (required) The endpoint uri to use in master/slave mode- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- namespace:delegateUri- Returns:
- the dsl builder
-
-