/** * Forwards a routable to the next hop in its route. This method will never block. * @param routable the routable to forward. */ public void forward(Routable routable) { if (routable instanceof Reply) { Reply reply = (Reply)routable; ReplyHandler handler = reply.popHandler(); handler.handleReply(reply); } else { routable.pushHandler(this); mbus.handleMessage((Message)routable); } }