If you just want to invoke your bean once, to compute where to route the message next, then use the routing slip EIP.
The dynamic router, is kinda like a while loop, that keeps being invoked, until null is returned. Where as routing slip, is invoked once.
Routing slip solved my problem.
Edited by: jamie3 on Nov 25, 2011 12:29 PM