1 17 package org.apache.servicemix.eip.support; 18 19 29 public class RoutingRule { 30 31 private Predicate predicate; 32 private ExchangeTarget target; 33 34 public RoutingRule() { 35 } 36 37 public RoutingRule(Predicate predicate, ExchangeTarget target) { 38 this.predicate = predicate; 39 this.target = target; 40 } 41 42 45 public Predicate getPredicate() { 46 return predicate; 47 } 48 49 52 public ExchangeTarget getTarget() { 53 return target; 54 } 55 56 59 public void setPredicate(Predicate predicate) { 60 this.predicate = predicate; 61 } 62 63 66 public void setTarget(ExchangeTarget target) { 67 this.target = target; 68 } 69 70 } 71 | Popular Tags |