Example #1
0
  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();
  }
Example #2
0
 public void route(final ServerMessage message, final RoutingContext context) throws Exception {
   divert.route(message, context);
 }