org.sape.smfw.messagingengine
Interface MessageHandler
- All Known Implementing Classes:
- CompositeMessageHandler
- public interface MessageHandler
An interface to handle a message and return a response.
handleMessage
public Message handleMessage(MessageContext messageContext,
Message message)
throws MessagingEngineException
- Handles the supplied message and returns the response message.
- Parameters:
messageContext
- context of the messagemessage
- the message to be handled
- Returns:
- the response message
- Throws:
MessageHandlerException
- if there is any error when handling the message.
MessagingEngineException
Copyright 2003 Sapient Corporation. All Rights Reserved.