I have the below route set with two processors defined for the route.
from(direct: a) .streamCaching() .process(new MyProcessorA()) .toD(endpoint) .to("log:D