public DivertBinding(final long id, final SimpleString address, final Divert divert) { this.id = id; this.address = address; this.divert = divert; filter = divert.getFilter(); uniqueName = divert.getUniqueName(); routingName = divert.getRoutingName(); exclusive = divert.isExclusive(); }
public void route(final ServerMessage message, final RoutingContext context) throws Exception { divert.route(message, context); }