Код: Выделить всё
from("/route1").log({body}).......to("**bean:someClassABC**");
from("/route2").log({body}).......to("bean:someClassXYZ").end();
Подробнее здесь: https://stackoverflow.com/questions/510 ... -from-code
Код: Выделить всё
from("/route1").log({body}).......to("**bean:someClassABC**");
from("/route2").log({body}).......to("bean:someClassXYZ").end();