1 10 11 package org.mule.routing.inbound; 12 13 import org.mule.umo.UMOEvent; 14 import org.mule.umo.routing.RoutingException; 15 16 24 25 public class InboundPassThroughRouter extends SelectiveConsumer 26 { 27 public UMOEvent[] process(UMOEvent event) throws RoutingException 28 { 29 synchronized (event) 30 { 31 return new UMOEvent[]{event}; 32 } 33 } 34 35 public boolean isMatch(UMOEvent event) throws RoutingException 36 { 37 return true; 38 } 39 } 40 | Popular Tags |