package org.nanotek.mq.send;
|
|
/** |
* A sender interface is a "one way" communication channel. |
* one way by the mean constraint that the message sent is |
* not the same as the message received. |
* @author josecanovamauger |
*/
|
|
import javax.jms.Destination;
|
|
import org.nanotek.util.Base;
|
import org.springframework.jms.core.MessagePostProcessor;
|
|
public interface Sender<S extends Base<?>, T> {
|
|
public Destination getDestination();
|
public T send( S message );
|
public T send( S message , MessagePostProcessor messagePostProcessor);
|
|
}
|