Hi,

When I start to work on CAMEL-1171, I found that we don't need to use
the <Type extends ProcessorType> in the ProcessorType class definition.

public abstract class ProcessorType<Type extends ProcessorType> extends
OptionalIdentifiedType<Type> implements Block

For the common usecase to() method, it just need to return a
ProcessorType, I don't think we will call the
setParallelProcessing(true) after that, if we create a MulticastType first.

Just like this

from("direct:start").multicast().setParallelProcessing(true)...
to("direct:endpointA").to("direct:endpointB");

we won't write the rule like this
from("direct:start").multicast()...
to("direct:endpointA").setParallelProcessing(true).to("direct:endpointB");

Now , I just have a question about the OptionalIdentifiedType, since I
never use it. I don't know when we will call the
OptionalIdentifiedType's description method.
Can we just change the ProcessorType definition like this ?

public abstract class ProcessorType extends
OptionalIdentifiedType<ProcessorType> implements Block

Is they something that I'm missing?

Willem

Reply via email to