org.marketcetera.client.jms.ReplyHandler Maven / Gradle / Ivy
package org.marketcetera.client.jms;
import org.marketcetera.util.misc.ClassVersion;
/**
* A type-safe message handler that produces replies.
*
* @author [email protected]
* @since 1.0.0
* @version $Id: ReplyHandler.java 16154 2012-07-14 16:34:05Z colin $
*/
/* $License$ */
@ClassVersion("$Id: ReplyHandler.java 16154 2012-07-14 16:34:05Z colin $")
public interface ReplyHandler
{
/**
* Handles the given message, and returns a reply. Changing the
* name of this method requires changing the implementation of
* {@link IncomingJmsFactory} as well.
*
* @param msg The message.
*
* @return The reply.
*/
T replyToMessage
(T msg);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy