/* (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;
 }
Ejemplo n.º 2
0
 public boolean consumes(Object object) {
   return keyExtractor.getExpression().indexOf(object.toString()) != -1;
 }