Module org.mule.sdk.api
Annotation Interface ClusterSupport
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@MinMuleVersion("4.5.0")
public @interface ClusterSupport
Indicates the
SourceClusterSupport that a Source should have when running in cluster mode.
When the selected value is other than SourceClusterSupport.NOT_SUPPORTED, a parameter named
ExtensionConstants#PRIMARY_NODE_ONLY_PARAMETER_NAME is addeed automatically to allow the user to configure whether the
source should run in all nodes or just the primary ones.
Notice that when this parameter is in fact added, it will be optional and its default value will depend on the
SourceClusterSupport- Since:
- 1.0
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
SourceClusterSupport value- Default:
- DEFAULT_ALL_NODES
-