Hi,

I got a route like this:
from(bookKeeperQueue).routeId("BookKeeperRoute")
            .process(new BookKeeperProcessor(bookKeeper));
       
That I would like to test by appending a mock endpoint to the route and
avaiting for it to receive the message.

I could add a .to(log:something) at the end of the route, but I would
find it more pleasing if I could just append an endpoint to the route
using the new adviceWith() functionality.

Is this possible?

-- 
Regards / Med vennlig hilsen
Tarjei Huse
Mobil: 920 63 413

Reply via email to