1 25 26 package org.objectweb.petals.jbi.routing; 27 28 import org.objectweb.petals.jbi.component.context.ComponentContextImpl; 29 import org.objectweb.petals.jbi.messaging.MessageExchangeImpl; 30 31 42 public interface Router { 43 44 52 void send(ComponentContextImpl source, MessageExchangeImpl exchange, 53 long timeOut) throws RoutingException; 54 55 62 void receive(MessageExchangeImpl exchange) throws RoutingException; 63 } 64 | Popular Tags |