You should use camel-bam for such requirements.
Hadrian
On Aug 7, 2009, at 9:05 AM, arhan wrote:
I have 2 routes defined as follows:
configure(){
from("sourceA").to("processorA");
from("sourceB").to("processorB");
}
sourceB content is produced by processorA.
I have now a requirement that processorB should not start until
processorA
has not finished its work, and other way raund, processorA should
not start
if processorB is working.
Is there any camel-like-idioms for such case?
Probably, I could use a DelegateProcessor to wrap my processors and do
synchronizing on a shared object, but this looks kind of a hack..
--
View this message in context:
http://www.nabble.com/synchronization-between-separate-from%28%29-paths-tp24864534p24864534.html
Sent from the Camel - Users mailing list archive at Nabble.com.