[osmosis-dev] Usage of EntityMerger

Richard Redweik richard.redweik at yahoo.de
Tue Jun 4 15:34:34 UTC 2013


Thank you Peter!

Your guess is working.

xmlReader0.run() is blocking. Thus, I start each xmlReader in its own thread, start the merger, and wait until both are finished:

Thread t1 = new Thread(xmlReader0);
Thread t2 = new Thread(xmlReader1);
t1.start();
t2.start();
merger.run();
t1.join();
t2.join();



Best,
Richard




More information about the osmosis-dev mailing list