/* (non-Javadoc) * @see org.milyn.delivery.ordering.Consumer#consumes(java.lang.String) */ public boolean consumes(Object object) { if (wireBeanIdName != null && object.equals(wireBeanIdName)) { return true; } else if (expression != null && expression.getExpression().indexOf(object.toString()) != -1) { return true; } return false; }
public boolean consumes(Object object) { return keyExtractor.getExpression().indexOf(object.toString()) != -1; }