public class org.apache.camel.processor.MulticastProcessor extends org.apache.camel.support.ServiceSupport implements org.apache.camel.AsyncProcessor, org.apache.camel.Navigate, org.apache.camel.Traceable, org.apache.camel.spi.IdAware
{
private static final org.slf4j.Logger LOG;
protected final org.apache.camel.Processor onPrepare;
private final org.apache.camel.CamelContext camelContext;
private java.lang.String id;
private java.util.Collection processors;
private final org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy;
private final boolean parallelProcessing;
private final boolean streaming;
private final boolean parallelAggregate;
private final boolean stopOnAggregateException;
private final boolean stopOnException;
private final java.util.concurrent.ExecutorService executorService;
private final boolean shutdownExecutorService;
private java.util.concurrent.ExecutorService aggregateExecutorService;
private final long timeout;
private final java.util.concurrent.ConcurrentMap errorHandlers;
private final boolean shareUnitOfWork;
public void <init>(org.apache.camel.CamelContext, java.util.Collection)
{
org.apache.camel.CamelContext v;
org.apache.camel.processor.MulticastProcessor v;
java.util.Collection v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.util.Collection;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor: void <init>(org.apache.camel.CamelContext,java.util.Collection,org.apache.camel.processor.aggregate.AggregationStrategy)>(v, v, null);
return;
}
public void <init>(org.apache.camel.CamelContext, java.util.Collection, org.apache.camel.processor.aggregate.AggregationStrategy)
{
org.apache.camel.CamelContext v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.util.Collection v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.util.Collection;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor: void <init>(org.apache.camel.CamelContext,java.util.Collection,org.apache.camel.processor.aggregate.AggregationStrategy,boolean,java.util.concurrent.ExecutorService,boolean,boolean,boolean,long,org.apache.camel.Processor,boolean,boolean)>(v, v, v, 0, null, 0, 0, 0, 0L, null, 0, 0);
return;
}
public void <init>(org.apache.camel.CamelContext, java.util.Collection, org.apache.camel.processor.aggregate.AggregationStrategy, boolean, java.util.concurrent.ExecutorService, boolean, boolean, boolean, long, org.apache.camel.Processor, boolean)
{
org.apache.camel.CamelContext v;
java.util.Collection v;
long v;
org.apache.camel.Processor v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.util.concurrent.ExecutorService v;
boolean v, v, v, v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.util.Collection;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v := @parameter: boolean;
v := @parameter: java.util.concurrent.ExecutorService;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: long;
v := @parameter: org.apache.camel.Processor;
v := @parameter: boolean;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor: void <init>(org.apache.camel.CamelContext,java.util.Collection,org.apache.camel.processor.aggregate.AggregationStrategy,boolean,java.util.concurrent.ExecutorService,boolean,boolean,boolean,long,org.apache.camel.Processor,boolean,boolean)>(v, v, v, v, v, v, v, v, v, v, v, 0);
return;
}
public void <init>(org.apache.camel.CamelContext, java.util.Collection, org.apache.camel.processor.aggregate.AggregationStrategy, boolean, java.util.concurrent.ExecutorService, boolean, boolean, boolean, long, org.apache.camel.Processor, boolean, boolean)
{
org.apache.camel.CamelContext v;
java.util.Collection v;
long v;
org.apache.camel.Processor v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.util.concurrent.ExecutorService v;
boolean v, v, v, v, v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.util.Collection;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v := @parameter: boolean;
v := @parameter: java.util.concurrent.ExecutorService;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: long;
v := @parameter: org.apache.camel.Processor;
v := @parameter: boolean;
v := @parameter: boolean;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor: void <init>(org.apache.camel.CamelContext,java.util.Collection,org.apache.camel.processor.aggregate.AggregationStrategy,boolean,java.util.concurrent.ExecutorService,boolean,boolean,boolean,long,org.apache.camel.Processor,boolean,boolean,boolean)>(v, v, v, v, v, v, v, v, v, v, v, 0, 0);
return;
}
public void <init>(org.apache.camel.CamelContext, java.util.Collection, org.apache.camel.processor.aggregate.AggregationStrategy, boolean, java.util.concurrent.ExecutorService, boolean, boolean, boolean, long, org.apache.camel.Processor, boolean, boolean, boolean)
{
long v;
org.apache.camel.Processor v;
org.apache.camel.processor.MulticastProcessor v;
java.util.concurrent.ExecutorService v;
boolean v, v, v, v, v, v, v, v;
org.apache.camel.CamelContext v;
java.util.Collection v;
java.util.concurrent.ConcurrentHashMap v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.CamelContext;
v := @parameter: java.util.Collection;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v := @parameter: boolean;
v := @parameter: java.util.concurrent.ExecutorService;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: long;
v := @parameter: org.apache.camel.Processor;
v := @parameter: boolean;
v := @parameter: boolean;
v := @parameter: boolean;
specialinvoke v.<org.apache.camel.support.ServiceSupport: void <init>()>();
v = new java.util.concurrent.ConcurrentHashMap;
specialinvoke v.<java.util.concurrent.ConcurrentHashMap: void <init>()>();
v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers> = v;
staticinvoke <org.apache.camel.util.ObjectHelper: java.lang.Object notNull(java.lang.Object,java.lang.String)>(v, "camelContext");
v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext camelContext> = v;
v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors> = v;
v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy> = v;
v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean shutdownExecutorService> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean streaming> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean stopOnException> = v;
if v != 0 goto label;
if v == null goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
v.<org.apache.camel.processor.MulticastProcessor: boolean parallelProcessing> = v;
v.<org.apache.camel.processor.MulticastProcessor: long timeout> = v;
v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor onPrepare> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean shareUnitOfWork> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean parallelAggregate> = v;
v.<org.apache.camel.processor.MulticastProcessor: boolean stopOnAggregateException> = v;
return;
}
public java.lang.String toString()
{
org.apache.camel.processor.MulticastProcessor v;
java.lang.String v;
java.util.Collection v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection getProcessors()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.util.Collection)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Multicast[\u]");
return v;
}
public java.lang.String getId()
{
org.apache.camel.processor.MulticastProcessor v;
java.lang.String v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: java.lang.String id>;
return v;
}
public void setId(java.lang.String)
{
org.apache.camel.processor.MulticastProcessor v;
java.lang.String v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: java.lang.String;
v.<org.apache.camel.processor.MulticastProcessor: java.lang.String id> = v;
return;
}
public java.lang.String getTraceLabel()
{
org.apache.camel.processor.MulticastProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
return "multicast";
}
public org.apache.camel.CamelContext getCamelContext()
{
org.apache.camel.CamelContext v;
org.apache.camel.processor.MulticastProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext camelContext>;
return v;
}
public void process(org.apache.camel.Exchange) throws java.lang.Exception
{
org.apache.camel.Exchange v;
org.apache.camel.processor.MulticastProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
staticinvoke <org.apache.camel.util.AsyncProcessorHelper: void process(org.apache.camel.AsyncProcessor,org.apache.camel.Exchange)>(v, v);
return;
}
public boolean process(org.apache.camel.Exchange, org.apache.camel.AsyncCallback)
{
java.lang.Throwable v;
org.apache.camel.util.concurrent.AtomicExchange v;
org.apache.camel.AsyncCallback v;
org.apache.camel.Exchange v;
java.lang.Iterable v;
org.apache.camel.processor.MulticastProcessor v;
java.lang.Object v, v;
java.util.concurrent.ExecutorService v;
boolean v, v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.AsyncCallback;
v = new org.apache.camel.util.concurrent.AtomicExchange;
specialinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: void <init>()>();
v = null;
label:
v = 1;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: java.lang.Iterable createProcessorExchangePairs(org.apache.camel.Exchange)>(v);
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isParallelProcessing()>();
if v == 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
staticinvoke <org.apache.camel.util.ObjectHelper: java.lang.Object notNull(java.lang.Object,java.lang.String,java.lang.Object)>(v, "executorService", v);
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isStreaming()>();
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doProcessParallel(org.apache.camel.Exchange,org.apache.camel.util.concurrent.AtomicExchange,java.lang.Iterable,boolean,org.apache.camel.AsyncCallback)>(v, v, v, v, v);
goto label;
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean doProcessSequential(org.apache.camel.Exchange,org.apache.camel.util.concurrent.AtomicExchange,java.lang.Iterable,org.apache.camel.AsyncCallback)>(v, v, v, v);
label:
if v != 0 goto label;
label:
return 0;
label:
v := @caughtexception;
interfaceinvoke v.<org.apache.camel.Exchange: void setException(java.lang.Throwable)>(v);
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doDone(org.apache.camel.Exchange,org.apache.camel.Exchange,java.lang.Iterable,org.apache.camel.AsyncCallback,boolean,boolean)>(v, null, v, v, 1, 0);
return 1;
label:
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: java.lang.Object get()>();
if v == null goto label;
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: java.lang.Object get()>();
goto label;
label:
v = null;
label:
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doDone(org.apache.camel.Exchange,org.apache.camel.Exchange,java.lang.Iterable,org.apache.camel.AsyncCallback,boolean,boolean)>(v, v, v, v, 1, 1);
return 1;
catch java.lang.Throwable from label to label with label;
}
protected void doProcessParallel(org.apache.camel.Exchange, org.apache.camel.util.concurrent.AtomicExchange, java.lang.Iterable, boolean, org.apache.camel.AsyncCallback) throws java.lang.Exception
{
java.lang.Integer v, v;
java.util.concurrent.CompletionService v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.util.concurrent.AtomicException v;
java.util.concurrent.atomic.AtomicInteger v;
boolean v, v, v, v, v;
org.apache.camel.RuntimeCamelException v;
org.apache.camel.processor.MulticastProcessor$AggregateOnTheFlyTask v;
java.util.concurrent.CountDownLatch v;
java.util.concurrent.ExecutorCompletionService v;
java.lang.Throwable v;
org.apache.camel.util.concurrent.AtomicExchange v;
java.util.concurrent.atomic.AtomicBoolean v, v, v;
org.apache.camel.util.concurrent.SubmitOrderedCompletionService v;
org.apache.camel.Exchange v, v;
java.lang.Iterable v;
int v, v, v;
java.lang.String v, v, v, v;
java.util.concurrent.ExecutorService v, v, v, v;
org.apache.camel.processor.MulticastProcessor$1 v;
org.slf4j.Logger v, v, v, v, v, v, v, v;
java.util.Iterator v;
org.apache.camel.AsyncCallback v;
java.lang.Object v, v, v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.util.concurrent.AtomicExchange;
v := @parameter: java.lang.Iterable;
v := @parameter: boolean;
v := @parameter: org.apache.camel.AsyncCallback;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
staticinvoke <org.apache.camel.util.ObjectHelper: java.lang.Object notNull(java.lang.Object,java.lang.String,java.lang.Object)>(v, "ExecutorService", v);
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService aggregateExecutorService>;
staticinvoke <org.apache.camel.util.ObjectHelper: java.lang.Object notNull(java.lang.Object,java.lang.String,java.lang.Object)>(v, "AggregateExecutorService", v);
if v == 0 goto label;
v = new java.util.concurrent.ExecutorCompletionService;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
specialinvoke v.<java.util.concurrent.ExecutorCompletionService: void <init>(java.util.concurrent.Executor)>(v);
v = v;
goto label;
label:
v = new org.apache.camel.util.concurrent.SubmitOrderedCompletionService;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
specialinvoke v.<org.apache.camel.util.concurrent.SubmitOrderedCompletionService: void <init>(java.util.concurrent.Executor)>(v);
v = v;
label:
v = new java.util.concurrent.atomic.AtomicInteger;
specialinvoke v.<java.util.concurrent.atomic.AtomicInteger: void <init>(int)>(0);
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>(boolean)>(1);
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v = new java.util.concurrent.CountDownLatch;
specialinvoke v.<java.util.concurrent.CountDownLatch: void <init>(int)>(1);
v = new org.apache.camel.util.concurrent.AtomicException;
specialinvoke v.<org.apache.camel.util.concurrent.AtomicException: void <init>()>();
v = new org.apache.camel.processor.MulticastProcessor$AggregateOnTheFlyTask;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor$AggregateOnTheFlyTask: void <init>(org.apache.camel.processor.MulticastProcessor,org.apache.camel.util.concurrent.AtomicExchange,org.apache.camel.Exchange,java.util.concurrent.atomic.AtomicInteger,java.util.concurrent.CompletionService,java.util.concurrent.atomic.AtomicBoolean,java.util.concurrent.CountDownLatch,java.util.concurrent.atomic.AtomicBoolean,org.apache.camel.util.concurrent.AtomicException)>(v, v, v, v, v, v, v, v, v);
v = new java.util.concurrent.atomic.AtomicBoolean;
specialinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void <init>()>();
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String)>("Starting to submit parallel tasks");
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int intValue()>();
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void updateNewExchange(org.apache.camel.Exchange,int,java.lang.Iterable,java.util.Iterator)>(v, v, v, v);
v = new org.apache.camel.processor.MulticastProcessor$1;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor$1: void <init>(org.apache.camel.processor.MulticastProcessor,java.util.concurrent.atomic.AtomicBoolean,org.apache.camel.processor.MulticastProcessor$AggregateOnTheFlyTask,java.util.concurrent.atomic.AtomicBoolean,org.apache.camel.Exchange,org.apache.camel.processor.ProcessorExchangePair)>(v, v, v, v, v, v);
interfaceinvoke v.<java.util.concurrent.CompletionService: java.util.concurrent.Future submit(java.util.concurrent.Callable)>(v);
virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int incrementAndGet()>();
goto label;
label:
v := @caughtexception;
v = v instanceof java.lang.Exception;
if v == 0 goto label;
virtualinvoke v.<org.apache.camel.util.concurrent.AtomicException: void set(java.lang.Object)>(v);
goto label;
label:
v = staticinvoke <org.apache.camel.util.ObjectHelper: org.apache.camel.RuntimeCamelException wrapRuntimeCamelException(java.lang.Throwable)>(v);
virtualinvoke v.<org.apache.camel.util.concurrent.AtomicException: void set(java.lang.Object)>(v);
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.String getExchangeId()>();
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String,java.lang.Object)>("Signaling we are done aggregating on the fly for exchangeId: {}", v);
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.String getExchangeId()>();
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Aggregate on the fly task done for exchangeId: {}", v);
virtualinvoke v.<java.util.concurrent.CountDownLatch: void countDown()>();
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Signaling that all {} tasks has been submitted.", v);
virtualinvoke v.<java.util.concurrent.atomic.AtomicBoolean: void set(boolean)>(1);
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.String getExchangeId()>();
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String,java.lang.Object,java.lang.Object)>("Waiting for on-the-fly aggregation to complete aggregating {} responses for exchangeId: {}", v, v);
virtualinvoke v.<java.util.concurrent.CountDownLatch: void await()>();
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicException: java.lang.Object get()>();
if v == null goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.slf4j.Logger: boolean isDebugEnabled()>();
if v == 0 goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicException: java.lang.Object get()>();
v = virtualinvoke v.<java.lang.Exception: java.lang.String getMessage()>();
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String,java.lang.Object)>("Parallel processing failed due {}", v);
label:
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicException: java.lang.Object get()>();
throw v;
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String,java.lang.Object)>("Done parallel processing {} exchanges", v);
return;
catch java.lang.Throwable from label to label with label;
}
protected boolean doProcessSequential(org.apache.camel.Exchange, org.apache.camel.util.concurrent.AtomicExchange, java.lang.Iterable, org.apache.camel.AsyncCallback) throws java.lang.Exception
{
org.apache.camel.processor.MulticastProcessor v;
java.util.concurrent.atomic.AtomicInteger v;
boolean v, v, v, v, v, v, v;
java.lang.Exception v, v;
org.apache.camel.util.concurrent.AtomicExchange v;
org.apache.camel.Exchange v, v, v, v;
java.lang.Iterable v;
int v, v, v;
java.lang.String v, v, v, v;
org.slf4j.Logger v, v, v, v, v, v, v;
java.util.Iterator v;
org.apache.camel.AsyncCallback v;
org.apache.camel.processor.aggregate.AggregationStrategy v, v;
java.lang.Object v;
org.apache.camel.CamelExchangeException v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.util.concurrent.AtomicExchange;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.camel.AsyncCallback;
v = new java.util.concurrent.atomic.AtomicInteger;
specialinvoke v.<java.util.concurrent.atomic.AtomicInteger: void <init>()>();
v = interfaceinvoke v.<java.lang.Iterable: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void updateNewExchange(org.apache.camel.Exchange,int,java.lang.Iterable,java.util.Iterator)>(v, v, v, v);
v = specialinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean doProcessSequential(org.apache.camel.Exchange,org.apache.camel.util.concurrent.AtomicExchange,java.lang.Iterable,java.util.Iterator,org.apache.camel.processor.ProcessorExchangePair,org.apache.camel.AsyncCallback,java.util.concurrent.atomic.AtomicInteger)>(v, v, v, v, v, v, v);
if v != 0 goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.slf4j.Logger: boolean isTraceEnabled()>();
if v == 0 goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.String getExchangeId()>();
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Processing exchangeId: {} is continued being processed asynchronously", v);
label:
return 0;
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.slf4j.Logger: boolean isTraceEnabled()>();
if v == 0 goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.String getExchangeId()>();
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Processing exchangeId: {} is continued being processed synchronously", v);
label:
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Sequential processing failed for number \u0001");
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
v = staticinvoke <org.apache.camel.processor.PipelineHelper: boolean continueProcessing(org.apache.camel.Exchange,java.lang.String,org.slf4j.Logger)>(v, v, v);
v = v.<org.apache.camel.processor.MulticastProcessor: boolean stopOnException>;
if v == 0 goto label;
if v != 0 goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
if v == null goto label;
v = new org.apache.camel.CamelExchangeException;
v = virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int get()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (int)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Sequential processing failed for number \u0001");
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
specialinvoke v.<org.apache.camel.CamelExchangeException: void <init>(java.lang.String,org.apache.camel.Exchange,java.lang.Throwable)>(v, v, v);
interfaceinvoke v.<org.apache.camel.Exchange: void setException(java.lang.Throwable)>(v);
label:
virtualinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: void set(java.lang.Object)>(v);
return 1;
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object,java.lang.Object)>("Sequential processing complete for number {} exchange: {}", v, v);
v = v.<org.apache.camel.processor.MulticastProcessor: boolean parallelAggregate>;
if v == 0 goto label;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy(org.apache.camel.Exchange)>(v);
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doAggregateInternal(org.apache.camel.processor.aggregate.AggregationStrategy,org.apache.camel.util.concurrent.AtomicExchange,org.apache.camel.Exchange)>(v, v, v);
goto label;
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy(org.apache.camel.Exchange)>(v);
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doAggregate(org.apache.camel.processor.aggregate.AggregationStrategy,org.apache.camel.util.concurrent.AtomicExchange,org.apache.camel.Exchange)>(v, v, v);
label:
virtualinvoke v.<java.util.concurrent.atomic.AtomicInteger: int incrementAndGet()>();
goto label;
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void debug(java.lang.String,java.lang.Object)>("Done sequential processing {} exchanges", v);
return 1;
}
private boolean doProcessSequential(org.apache.camel.Exchange, org.apache.camel.util.concurrent.AtomicExchange, java.lang.Iterable, java.util.Iterator, org.apache.camel.processor.ProcessorExchangePair, org.apache.camel.AsyncCallback, java.util.concurrent.atomic.AtomicInteger)
{
java.lang.Throwable v;
org.apache.camel.spi.TracedRouteNodes v, v;
org.apache.camel.util.concurrent.AtomicExchange v;
org.apache.camel.spi.UnitOfWork v, v;
org.apache.camel.Exchange v, v;
org.apache.camel.Endpoint v;
java.lang.Iterable v;
org.apache.camel.Processor v;
org.apache.camel.processor.ProcessorExchangePair v;
org.apache.camel.processor.MulticastProcessor v;
java.util.concurrent.atomic.AtomicInteger v;
boolean v, v;
org.apache.camel.CamelContext v;
org.apache.camel.processor.MulticastProcessor$2 v;
java.util.Iterator v;
org.apache.camel.AsyncCallback v;
org.apache.camel.util.StopWatch v, v;
org.apache.camel.Producer v;
org.apache.camel.AsyncProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.util.concurrent.AtomicExchange;
v := @parameter: java.lang.Iterable;
v := @parameter: java.util.Iterator;
v := @parameter: org.apache.camel.processor.ProcessorExchangePair;
v := @parameter: org.apache.camel.AsyncCallback;
v := @parameter: java.util.concurrent.atomic.AtomicInteger;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Processor getProcessor()>();
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Producer getProducer()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
v = interfaceinvoke v.<org.apache.camel.spi.UnitOfWork: org.apache.camel.spi.TracedRouteNodes getTracedRouteNodes()>();
goto label;
label:
v = null;
label:
v = v;
label:
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void pushBlock()>();
label:
v = null;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.CamelContext getContext()>();
v = interfaceinvoke v.<org.apache.camel.Producer: org.apache.camel.Endpoint getEndpoint()>();
v = staticinvoke <org.apache.camel.util.EventHelper: boolean notifyExchangeSending(org.apache.camel.CamelContext,org.apache.camel.Exchange,org.apache.camel.Endpoint)>(v, v, v);
if v == 0 goto label;
v = new org.apache.camel.util.StopWatch;
specialinvoke v.<org.apache.camel.util.StopWatch: void <init>()>();
v = v;
label:
v = staticinvoke <org.apache.camel.util.AsyncProcessorConverterHelper: org.apache.camel.AsyncProcessor convert(org.apache.camel.Processor)>(v);
interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: void begin()>();
v = new org.apache.camel.processor.MulticastProcessor$2;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor$2: void <init>(org.apache.camel.processor.MulticastProcessor,org.apache.camel.processor.ProcessorExchangePair,org.apache.camel.Producer,org.apache.camel.util.StopWatch,org.apache.camel.Exchange,java.util.concurrent.atomic.AtomicInteger,org.apache.camel.util.concurrent.AtomicExchange,org.apache.camel.Exchange,java.lang.Iterable,org.apache.camel.AsyncCallback,java.util.Iterator)>(v, v, v, v, v, v, v, v, v, v, v);
v = interfaceinvoke v.<org.apache.camel.AsyncProcessor: boolean process(org.apache.camel.Exchange,org.apache.camel.AsyncCallback)>(v, v);
label:
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void popBlock()>();
goto label;
label:
v := @caughtexception;
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void popBlock()>();
label:
throw v;
label:
return v;
catch java.lang.Throwable from label to label with label;
}
private void doProcessParallel(org.apache.camel.processor.ProcessorExchangePair) throws java.lang.Exception
{
java.lang.Throwable v;
org.apache.camel.spi.TracedRouteNodes v, v;
org.apache.camel.spi.UnitOfWork v, v;
long v, v;
org.apache.camel.Exchange v;
org.apache.camel.Endpoint v, v, v;
org.apache.camel.Processor v;
org.apache.camel.processor.ProcessorExchangePair v;
org.apache.camel.processor.MulticastProcessor v;
boolean v;
org.apache.camel.CamelContext v, v, v;
org.apache.camel.util.StopWatch v, v;
org.apache.camel.Producer v;
org.apache.camel.AsyncProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.processor.ProcessorExchangePair;
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Exchange getExchange()>();
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Processor getProcessor()>();
v = interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: org.apache.camel.Producer getProducer()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
v = interfaceinvoke v.<org.apache.camel.spi.UnitOfWork: org.apache.camel.spi.TracedRouteNodes getTracedRouteNodes()>();
goto label;
label:
v = null;
label:
v = v;
v = null;
label:
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void pushBlock()>();
label:
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.CamelContext getContext()>();
v = interfaceinvoke v.<org.apache.camel.Producer: org.apache.camel.Endpoint getEndpoint()>();
v = staticinvoke <org.apache.camel.util.EventHelper: boolean notifyExchangeSending(org.apache.camel.CamelContext,org.apache.camel.Exchange,org.apache.camel.Endpoint)>(v, v, v);
if v == 0 goto label;
v = new org.apache.camel.util.StopWatch;
specialinvoke v.<org.apache.camel.util.StopWatch: void <init>()>();
v = v;
label:
v = staticinvoke <org.apache.camel.util.AsyncProcessorConverterHelper: org.apache.camel.AsyncProcessor convert(org.apache.camel.Processor)>(v);
interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: void begin()>();
staticinvoke <org.apache.camel.util.AsyncProcessorHelper: void process(org.apache.camel.AsyncProcessor,org.apache.camel.Exchange)>(v, v);
label:
interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: void done()>();
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void popBlock()>();
label:
if v == null goto label;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Producer: org.apache.camel.Endpoint getEndpoint()>();
v = virtualinvoke v.<org.apache.camel.util.StopWatch: long taken()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.CamelContext getContext()>();
staticinvoke <org.apache.camel.util.EventHelper: boolean notifyExchangeSent(org.apache.camel.CamelContext,org.apache.camel.Exchange,org.apache.camel.Endpoint,long)>(v, v, v, v);
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.apache.camel.processor.ProcessorExchangePair: void done()>();
if v == null goto label;
interfaceinvoke v.<org.apache.camel.spi.TracedRouteNodes: void popBlock()>();
label:
if v == null goto label;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Producer: org.apache.camel.Endpoint getEndpoint()>();
v = virtualinvoke v.<org.apache.camel.util.StopWatch: long taken()>();
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.CamelContext getContext()>();
staticinvoke <org.apache.camel.util.EventHelper: boolean notifyExchangeSent(org.apache.camel.CamelContext,org.apache.camel.Exchange,org.apache.camel.Endpoint,long)>(v, v, v, v);
label:
throw v;
label:
return;
catch java.lang.Throwable from label to label with label;
}
protected void doDone(org.apache.camel.Exchange, org.apache.camel.Exchange, java.lang.Iterable, org.apache.camel.AsyncCallback, boolean, boolean)
{
org.apache.camel.Exchange v, v;
java.lang.Iterable v;
org.apache.camel.processor.MulticastProcessor v;
java.lang.Boolean v;
boolean v, v, v, v, v, v, v, v, v, v;
org.slf4j.Logger v;
org.apache.camel.AsyncCallback v;
java.lang.Exception v, v, v, v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: java.lang.Iterable;
v := @parameter: org.apache.camel.AsyncCallback;
v := @parameter: boolean;
v := @parameter: boolean;
v = v instanceof java.io.Closeable;
if v == 0 goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
staticinvoke <org.apache.camel.util.IOHelper: void close(java.io.Closeable,java.lang.String,org.slf4j.Logger)>(v, "pairs", v);
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy(org.apache.camel.Exchange)>(v);
v = v instanceof org.apache.camel.processor.aggregate.DelegateAggregationStrategy;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.camel.processor.aggregate.DelegateAggregationStrategy: org.apache.camel.processor.aggregate.AggregationStrategy getDelegate()>();
label:
v = v instanceof org.apache.camel.processor.aggregate.CompletionAwareAggregationStrategy;
if v == 0 goto label;
interfaceinvoke v.<org.apache.camel.processor.aggregate.CompletionAwareAggregationStrategy: void onCompletion(org.apache.camel.Exchange)>(v);
label:
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void removeAggregationStrategyFromExchange(org.apache.camel.Exchange)>(v);
v = 0;
v = 0;
if v != 0 goto label;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
if v != null goto label;
v = staticinvoke <org.apache.camel.util.ExchangeHelper: boolean isRedeliveryExhausted(org.apache.camel.Exchange)>(v);
if v == 0 goto label;
label:
v = 1;
goto label;
label:
v = 0;
label:
v = v;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
if v != null goto label;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
if v == null goto label;
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isStopOnException()>();
v = 1;
label:
if v == null goto label;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
interfaceinvoke v.<org.apache.camel.Exchange: void setException(java.lang.Throwable)>(v);
goto label;
label:
staticinvoke <org.apache.camel.util.ExchangeHelper: void copyResults(org.apache.camel.Exchange,org.apache.camel.Exchange)>(v, v);
label:
if v == 0 goto label;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(v);
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelRedeliveryExhausted", v);
label:
interfaceinvoke v.<org.apache.camel.AsyncCallback: void done(boolean)>(v);
return;
}
protected synchronized void doAggregate(org.apache.camel.processor.aggregate.AggregationStrategy, org.apache.camel.util.concurrent.AtomicExchange, org.apache.camel.Exchange)
{
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.util.concurrent.AtomicExchange v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
org.apache.camel.Exchange v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v := @parameter: org.apache.camel.util.concurrent.AtomicExchange;
v := @parameter: org.apache.camel.Exchange;
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void doAggregateInternal(org.apache.camel.processor.aggregate.AggregationStrategy,org.apache.camel.util.concurrent.AtomicExchange,org.apache.camel.Exchange)>(v, v, v);
return;
}
protected void doAggregateInternal(org.apache.camel.processor.aggregate.AggregationStrategy, org.apache.camel.util.concurrent.AtomicExchange, org.apache.camel.Exchange)
{
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.util.concurrent.AtomicExchange v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.lang.Object v;
org.apache.camel.Exchange v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v := @parameter: org.apache.camel.util.concurrent.AtomicExchange;
v := @parameter: org.apache.camel.Exchange;
if v == null goto label;
v = virtualinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: java.lang.Object get()>();
staticinvoke <org.apache.camel.util.ExchangeHelper: void prepareAggregation(org.apache.camel.Exchange,org.apache.camel.Exchange)>(v, v);
v = interfaceinvoke v.<org.apache.camel.processor.aggregate.AggregationStrategy: org.apache.camel.Exchange aggregate(org.apache.camel.Exchange,org.apache.camel.Exchange)>(v, v);
virtualinvoke v.<org.apache.camel.util.concurrent.AtomicExchange: void set(java.lang.Object)>(v);
label:
return;
}
protected void updateNewExchange(org.apache.camel.Exchange, int, java.lang.Iterable, java.util.Iterator)
{
java.util.Iterator v;
org.apache.camel.Exchange v;
java.lang.Integer v;
java.lang.Iterable v;
org.apache.camel.processor.MulticastProcessor v;
int v;
java.lang.Boolean v, v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: int;
v := @parameter: java.lang.Iterable;
v := @parameter: java.util.Iterator;
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelMulticastIndex", v);
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = <java.lang.Boolean: java.lang.Boolean FALSE>;
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelMulticastComplete", v);
goto label;
label:
v = <java.lang.Boolean: java.lang.Boolean TRUE>;
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelMulticastComplete", v);
label:
return;
}
protected java.lang.Integer getExchangeIndex(org.apache.camel.Exchange)
{
java.lang.Object v;
org.apache.camel.Exchange v;
org.apache.camel.processor.MulticastProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelMulticastIndex", class "Ljava/lang/Integer;");
return v;
}
protected java.lang.Iterable createProcessorExchangePairs(org.apache.camel.Exchange) throws java.lang.Exception
{
org.apache.camel.Message v, v, v;
org.apache.camel.spi.UnitOfWork v, v, v;
org.apache.camel.Exchange v, v;
java.util.ArrayList v;
org.apache.camel.processor.ProcessorExchangePair v;
org.apache.camel.processor.MulticastProcessor v;
int v, v, v;
boolean v, v, v, v;
java.util.Iterator v;
org.apache.camel.StreamCache v;
java.util.Collection v, v;
java.lang.Exception v, v;
java.lang.Object v, v, v, v;
org.apache.camel.spi.RouteContext v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v = new java.util.ArrayList;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v = interfaceinvoke v.<java.util.Collection: int size()>();
specialinvoke v.<java.util.ArrayList: void <init>(int)>(v);
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isParallelProcessing()>();
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.Message getIn()>();
v = interfaceinvoke v.<org.apache.camel.Message: java.lang.Object getBody()>();
v = v instanceof org.apache.camel.StreamCache;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.Message getIn()>();
v = interfaceinvoke v.<org.apache.camel.Message: java.lang.Object getBody()>();
label:
v = 0;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = staticinvoke <org.apache.camel.util.ExchangeHelper: org.apache.camel.Exchange createCorrelatedCopy(org.apache.camel.Exchange,boolean)>(v, 0);
if v == null goto label;
if v <= 0 goto label;
v = interfaceinvoke v.<org.apache.camel.StreamCache: org.apache.camel.StreamCache copy(org.apache.camel.Exchange)>(v);
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.Message getIn()>();
interfaceinvoke v.<org.apache.camel.Message: void setBody(java.lang.Object)>(v);
label:
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String)>("CamelStreamCacheUnitOfWork");
if v != null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelStreamCacheUnitOfWork", v);
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isShareUnitOfWork()>();
if v == 0 goto label;
virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: void prepareSharedUnitOfWork(org.apache.camel.Exchange,org.apache.camel.Exchange)>(v, v);
label:
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
v = interfaceinvoke v.<org.apache.camel.spi.UnitOfWork: org.apache.camel.spi.RouteContext getRouteContext()>();
goto label;
label:
v = null;
label:
v = v;
v = v + 1;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.ProcessorExchangePair createProcessorExchangePair(int,org.apache.camel.Processor,org.apache.camel.Exchange,org.apache.camel.spi.RouteContext)>(v, v, v, v);
interfaceinvoke v.<java.util.List: boolean add(java.lang.Object)>(v);
goto label;
label:
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Exception getException()>();
throw v;
label:
return v;
}
protected org.apache.camel.processor.ProcessorExchangePair createProcessorExchangePair(int, org.apache.camel.Processor, org.apache.camel.Exchange, org.apache.camel.spi.RouteContext)
{
org.apache.camel.Exchange v;
java.lang.Exception v;
org.apache.camel.Processor v, v, v, v;
org.apache.camel.processor.MulticastProcessor v;
int v;
org.apache.camel.processor.MulticastProcessor$DefaultProcessorExchangePair v;
org.apache.camel.spi.RouteContext v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: int;
v := @parameter: org.apache.camel.Processor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.spi.RouteContext;
staticinvoke <org.apache.camel.processor.MulticastProcessor: void setToEndpoint(org.apache.camel.Exchange,org.apache.camel.Processor)>(v, v);
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor createErrorHandler(org.apache.camel.spi.RouteContext,org.apache.camel.Exchange,org.apache.camel.Processor)>(v, v, v);
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor onPrepare>;
if v == null goto label;
label:
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor onPrepare>;
interfaceinvoke v.<org.apache.camel.Processor: void process(org.apache.camel.Exchange)>(v);
label:
goto label;
label:
v := @caughtexception;
interfaceinvoke v.<org.apache.camel.Exchange: void setException(java.lang.Throwable)>(v);
label:
v = new org.apache.camel.processor.MulticastProcessor$DefaultProcessorExchangePair;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor$DefaultProcessorExchangePair: void <init>(int,org.apache.camel.Processor,org.apache.camel.Processor,org.apache.camel.Exchange)>(v, v, v, v);
return v;
catch java.lang.Exception from label to label with label;
}
protected org.apache.camel.Processor createErrorHandler(org.apache.camel.spi.RouteContext, org.apache.camel.Exchange, org.apache.camel.Processor)
{
java.lang.Object[] v;
org.apache.camel.Exchange v;
java.util.concurrent.ConcurrentMap v, v;
org.apache.camel.Processor v, v, v;
org.apache.camel.processor.MulticastProcessor v;
java.lang.Boolean v;
boolean v, v;
org.apache.camel.RuntimeCamelException v;
org.apache.camel.model.RouteDefinition v;
org.slf4j.Logger v, v;
org.apache.camel.processor.MulticastProcessor$PreparedErrorHandler v;
java.lang.Exception v;
org.apache.camel.ErrorHandlerFactory v;
java.lang.Class v;
java.lang.Object v, v, v;
org.apache.camel.spi.RouteContext v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.spi.RouteContext;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.Processor;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(0);
v = <java.lang.Boolean: java.lang.Class TYPE>;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Object,java.lang.Class)>("TryRouteBlock", v, v);
v = virtualinvoke v.<java.lang.Boolean: boolean booleanValue()>();
if v != 0 goto label;
if v == null goto label;
v = new org.apache.camel.processor.MulticastProcessor$PreparedErrorHandler;
specialinvoke v.<org.apache.camel.processor.MulticastProcessor$PreparedErrorHandler: void <init>(org.apache.camel.spi.RouteContext,org.apache.camel.Processor)>(v, v);
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers>;
v = interfaceinvoke v.<java.util.concurrent.ConcurrentMap: java.lang.Object get(java.lang.Object)>(v);
if v == null goto label;
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Using existing error handler for: {}", v);
return v;
label:
v = <org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG>;
interfaceinvoke v.<org.slf4j.Logger: void trace(java.lang.String,java.lang.Object)>("Creating error handler for: {}", v);
v = interfaceinvoke v.<org.apache.camel.spi.RouteContext: org.apache.camel.model.RouteDefinition getRoute()>();
v = virtualinvoke v.<org.apache.camel.model.RouteDefinition: org.apache.camel.ErrorHandlerFactory getErrorHandlerBuilder()>();
label:
v = interfaceinvoke v.<org.apache.camel.ErrorHandlerFactory: org.apache.camel.Processor createErrorHandler(org.apache.camel.spi.RouteContext,org.apache.camel.Processor)>(v, v);
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor createUnitOfWorkProcessor(org.apache.camel.spi.RouteContext,org.apache.camel.Processor,org.apache.camel.Exchange)>(v, v, v);
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelParentUnitOfWork", class "Lorg/apache/camel/spi/UnitOfWork;");
if v == null goto label;
v = 1;
goto label;
label:
v = 0;
label:
v = newarray (java.lang.Object)[1];
v[0] = v;
staticinvoke <org.apache.camel.util.ServiceHelper: void startServices(java.lang.Object[])>(v);
if v != 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers>;
interfaceinvoke v.<java.util.concurrent.ConcurrentMap: java.lang.Object putIfAbsent(java.lang.Object,java.lang.Object)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = staticinvoke <org.apache.camel.util.ObjectHelper: org.apache.camel.RuntimeCamelException wrapRuntimeCamelException(java.lang.Throwable)>(v);
throw v;
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.Processor createUnitOfWorkProcessor(org.apache.camel.spi.RouteContext,org.apache.camel.Processor,org.apache.camel.Exchange)>(v, v, v);
label:
return v;
catch java.lang.Exception from label to label with label;
}
protected org.apache.camel.Processor createUnitOfWorkProcessor(org.apache.camel.spi.RouteContext, org.apache.camel.Processor, org.apache.camel.Exchange)
{
org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice v;
org.apache.camel.Exchange v;
org.apache.camel.processor.CamelInternalProcessor v;
org.apache.camel.processor.CamelInternalProcessor$ChildUnitOfWorkProcessorAdvice v;
org.apache.camel.Processor v;
org.apache.camel.processor.MulticastProcessor v;
java.lang.Object v;
org.apache.camel.spi.RouteContext v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.spi.RouteContext;
v := @parameter: org.apache.camel.Processor;
v := @parameter: org.apache.camel.Exchange;
v = new org.apache.camel.processor.CamelInternalProcessor;
specialinvoke v.<org.apache.camel.processor.CamelInternalProcessor: void <init>(org.apache.camel.Processor)>(v);
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelParentUnitOfWork", class "Lorg/apache/camel/spi/UnitOfWork;");
if v == null goto label;
v = new org.apache.camel.processor.CamelInternalProcessor$ChildUnitOfWorkProcessorAdvice;
specialinvoke v.<org.apache.camel.processor.CamelInternalProcessor$ChildUnitOfWorkProcessorAdvice: void <init>(org.apache.camel.spi.RouteContext,org.apache.camel.spi.UnitOfWork)>(v, v);
virtualinvoke v.<org.apache.camel.processor.CamelInternalProcessor: void addAdvice(org.apache.camel.processor.CamelInternalProcessorAdvice)>(v);
goto label;
label:
v = new org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice;
specialinvoke v.<org.apache.camel.processor.CamelInternalProcessor$UnitOfWorkProcessorAdvice: void <init>(org.apache.camel.spi.RouteContext)>(v);
virtualinvoke v.<org.apache.camel.processor.CamelInternalProcessor: void addAdvice(org.apache.camel.processor.CamelInternalProcessorAdvice)>(v);
label:
return v;
}
protected void prepareSharedUnitOfWork(org.apache.camel.Exchange, org.apache.camel.Exchange)
{
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.spi.UnitOfWork v;
org.apache.camel.Exchange v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.Exchange;
v = interfaceinvoke v.<org.apache.camel.Exchange: org.apache.camel.spi.UnitOfWork getUnitOfWork()>();
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelParentUnitOfWork", v);
return;
}
protected void doStart() throws java.lang.Exception
{
java.lang.Object[] v;
long v;
org.apache.camel.processor.MulticastProcessor v;
byte v;
java.lang.String v, v;
java.util.concurrent.ExecutorService v, v, v;
boolean v, v, v, v;
org.apache.camel.CamelContext v;
java.util.Collection v;
java.lang.IllegalArgumentException v, v;
org.apache.camel.processor.aggregate.AggregationStrategy v, v, v;
java.lang.Class v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isParallelProcessing()>();
if v == 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
if v != null goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("ParallelProcessing is enabled but ExecutorService has not been set");
throw v;
label:
v = v.<org.apache.camel.processor.MulticastProcessor: long timeout>;
v = v cmp 0L;
if v <= 0 goto label;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isParallelProcessing()>();
if v != 0 goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Timeout is used but ParallelProcessing has not been enabled");
throw v;
label:
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean isParallelProcessing()>();
if v == 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService aggregateExecutorService>;
if v != null goto label;
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001-AggregateTask");
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService createAggregateExecutorService(java.lang.String)>(v);
v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService aggregateExecutorService> = v;
label:
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
v = v instanceof org.apache.camel.CamelContextAware;
if v == 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext camelContext>;
interfaceinvoke v.<org.apache.camel.CamelContextAware: void setCamelContext(org.apache.camel.CamelContext)>(v);
label:
v = newarray (java.lang.Object)[2];
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
v[0] = v;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v[1] = v;
staticinvoke <org.apache.camel.util.ServiceHelper: void startServices(java.lang.Object[])>(v);
return;
}
protected synchronized java.util.concurrent.ExecutorService createAggregateExecutorService(java.lang.String)
{
org.apache.camel.CamelContext v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.spi.ExecutorServiceManager v;
java.lang.String v;
java.util.concurrent.ExecutorService v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: java.lang.String;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext camelContext>;
v = interfaceinvoke v.<org.apache.camel.CamelContext: org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()>();
v = interfaceinvoke v.<org.apache.camel.spi.ExecutorServiceManager: java.util.concurrent.ExecutorService newCachedThreadPool(java.lang.Object,java.lang.String)>(v, v);
return v;
}
protected void doStop() throws java.lang.Exception
{
org.apache.camel.processor.MulticastProcessor v;
java.lang.Object[] v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.util.Collection v;
java.util.concurrent.ConcurrentMap v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = newarray (java.lang.Object)[3];
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v[0] = v;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers>;
v[1] = v;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
v[2] = v;
staticinvoke <org.apache.camel.util.ServiceHelper: void stopServices(java.lang.Object[])>(v);
return;
}
protected void doShutdown() throws java.lang.Exception
{
org.apache.camel.CamelContext v, v;
java.lang.Object[] v;
java.util.Collection v;
java.util.concurrent.ConcurrentMap v, v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
org.apache.camel.spi.ExecutorServiceManager v, v;
java.util.concurrent.ExecutorService v, v, v, v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = newarray (java.lang.Object)[3];
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v[0] = v;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers>;
v[1] = v;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
v[2] = v;
staticinvoke <org.apache.camel.util.ServiceHelper: void stopAndShutdownServices(java.lang.Object[])>(v);
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ConcurrentMap errorHandlers>;
interfaceinvoke v.<java.util.concurrent.ConcurrentMap: void clear()>();
v = v.<org.apache.camel.processor.MulticastProcessor: boolean shutdownExecutorService>;
if v == 0 goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
if v == null goto label;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext getCamelContext()>();
v = interfaceinvoke v.<org.apache.camel.CamelContext: org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()>();
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService executorService>;
interfaceinvoke v.<org.apache.camel.spi.ExecutorServiceManager: java.util.List shutdownNow(java.util.concurrent.ExecutorService)>(v);
label:
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService aggregateExecutorService>;
if v == null goto label;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.CamelContext getCamelContext()>();
v = interfaceinvoke v.<org.apache.camel.CamelContext: org.apache.camel.spi.ExecutorServiceManager getExecutorServiceManager()>();
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.concurrent.ExecutorService aggregateExecutorService>;
interfaceinvoke v.<org.apache.camel.spi.ExecutorServiceManager: java.util.List shutdownNow(java.util.concurrent.ExecutorService)>(v);
label:
return;
}
protected static void setToEndpoint(org.apache.camel.Exchange, org.apache.camel.Processor)
{
org.apache.camel.Processor v;
org.apache.camel.Exchange v;
java.lang.String v;
org.apache.camel.Endpoint v;
boolean v;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.Processor;
v = v instanceof org.apache.camel.Producer;
if v == 0 goto label;
v = interfaceinvoke v.<org.apache.camel.Producer: org.apache.camel.Endpoint getEndpoint()>();
v = interfaceinvoke v.<org.apache.camel.Endpoint: java.lang.String getEndpointUri()>();
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelToEndpoint", v);
label:
return;
}
protected org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy(org.apache.camel.Exchange)
{
org.apache.camel.processor.MulticastProcessor v;
java.util.Map v;
java.lang.Object v, v;
org.apache.camel.Exchange v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
if v == null goto label;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelAggregationStrategy", class "Ljava/util/Map;");
v = staticinvoke <org.apache.camel.util.CastUtils: java.util.Map cast(java.util.Map)>(v);
if v == null goto label;
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
label:
if v != null goto label;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy()>();
label:
return v;
}
protected void setAggregationStrategyOnExchange(org.apache.camel.Exchange, org.apache.camel.processor.aggregate.AggregationStrategy)
{
java.util.concurrent.ConcurrentHashMap v, v, v;
org.apache.camel.Exchange v;
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
java.util.Map v;
java.lang.Object v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v := @parameter: org.apache.camel.processor.aggregate.AggregationStrategy;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelAggregationStrategy", class "Ljava/util/Map;");
v = staticinvoke <org.apache.camel.util.CastUtils: java.util.Map cast(java.util.Map)>(v);
if v != null goto label;
v = new java.util.concurrent.ConcurrentHashMap;
specialinvoke v.<java.util.concurrent.ConcurrentHashMap: void <init>()>();
v = v;
goto label;
label:
v = new java.util.concurrent.ConcurrentHashMap;
specialinvoke v.<java.util.concurrent.ConcurrentHashMap: void <init>(java.util.Map)>(v);
v = v;
label:
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
interfaceinvoke v.<org.apache.camel.Exchange: void setProperty(java.lang.String,java.lang.Object)>("CamelAggregationStrategy", v);
return;
}
protected void removeAggregationStrategyFromExchange(org.apache.camel.Exchange)
{
org.apache.camel.processor.MulticastProcessor v;
java.util.Map v;
java.lang.Object v;
org.apache.camel.Exchange v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v := @parameter: org.apache.camel.Exchange;
v = interfaceinvoke v.<org.apache.camel.Exchange: java.lang.Object getProperty(java.lang.String,java.lang.Class)>("CamelAggregationStrategy", class "Ljava/util/Map;");
v = staticinvoke <org.apache.camel.util.CastUtils: java.util.Map cast(java.util.Map)>(v);
if v != null goto label;
return;
label:
interfaceinvoke v.<java.util.Map: java.lang.Object remove(java.lang.Object)>(v);
return;
}
public boolean isStreaming()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean streaming>;
return v;
}
public boolean isStopOnException()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean stopOnException>;
return v;
}
public java.util.Collection getProcessors()
{
org.apache.camel.processor.MulticastProcessor v;
java.util.Collection v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
return v;
}
public long getTimeout()
{
long v;
org.apache.camel.processor.MulticastProcessor v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: long timeout>;
return v;
}
public org.apache.camel.processor.aggregate.AggregationStrategy getAggregationStrategy()
{
org.apache.camel.processor.MulticastProcessor v;
org.apache.camel.processor.aggregate.AggregationStrategy v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: org.apache.camel.processor.aggregate.AggregationStrategy aggregationStrategy>;
return v;
}
public boolean isParallelProcessing()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean parallelProcessing>;
return v;
}
public boolean isParallelAggregate()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean parallelAggregate>;
return v;
}
public boolean isStopOnAggregateException()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean stopOnAggregateException>;
return v;
}
public boolean isShareUnitOfWork()
{
org.apache.camel.processor.MulticastProcessor v;
boolean v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: boolean shareUnitOfWork>;
return v;
}
public java.util.List next()
{
org.apache.camel.processor.MulticastProcessor v;
java.util.Collection v;
boolean v;
java.util.ArrayList v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = virtualinvoke v.<org.apache.camel.processor.MulticastProcessor: boolean hasNext()>();
if v != 0 goto label;
return null;
label:
v = new java.util.ArrayList;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
specialinvoke v.<java.util.ArrayList: void <init>(java.util.Collection)>(v);
return v;
}
public boolean hasNext()
{
org.apache.camel.processor.MulticastProcessor v;
java.util.Collection v, v;
boolean v, v;
v := @this: org.apache.camel.processor.MulticastProcessor;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
if v == null goto label;
v = v.<org.apache.camel.processor.MulticastProcessor: java.util.Collection processors>;
v = interfaceinvoke v.<java.util.Collection: boolean isEmpty()>();
if v != 0 goto label;
v = 1;
goto label;
label:
v = 0;
label:
return v;
}
static void <clinit>()
{
org.slf4j.Logger v;
v = staticinvoke <org.slf4j.LoggerFactory: org.slf4j.Logger getLogger(java.lang.Class)>(class "Lorg/apache/camel/processor/MulticastProcessor;");
<org.apache.camel.processor.MulticastProcessor: org.slf4j.Logger LOG> = v;
return;
}
}