Class MulticastDefinition
Scope-opener definition for the Multicast EIP.
Sends the exchange to all child endpoints (fan-out).
Each output is compiled as one target processor for .
Inherits the leaf DSL from ;
close with .
public class MulticastDefinition : RouteDefinitionBase<MulticastDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope, ICompositeScope
Inheritance
Implements
Inherited Members
Methods
AggregationStrategy(Func<IExchange, IExchange, IExchange>)
Sets the pair-wise aggregation strategy.
public MulticastDefinition AggregationStrategy(Func<IExchange, IExchange, IExchange> strategy)
CreateProcessor(IRouteContext)
Compile this node into a runtime processor.
public override IProcessor CreateProcessor(IRouteContext context)
EndMulticast()
Closes this multicast scope and returns the parent route definition.
public IRouteDefinition EndMulticast()
MaxParallelism(int)
Sets maximum degree of parallelism.
public MulticastDefinition MaxParallelism(int value)
Parallel(bool)
Enables parallel processing (default).
public MulticastDefinition Parallel(bool value = true)
ParallelProcessing(bool)
Apache Camel alias for .
public MulticastDefinition ParallelProcessing(bool value = true)
StopOnException(bool)
Sets stop-on-exception behaviour (default: false).
public MulticastDefinition StopOnException(bool value = true)
Timeout(TimeSpan)
Sets a timeout for the entire multicast operation.
public MulticastDefinition Timeout(TimeSpan timeout)