net.esper.adapter.jms
Interface JMSMessageUnmarshaller
- All Known Implementing Classes:
- JMSDefaultAnyMessageUnmarshaller
public interface JMSMessageUnmarshaller
Interface for a un-marshaller that takes a JMS message and creates or wraps an event object for use to
send as an event into an engine instance.
Method Summary |
Object |
unmarshal(net.esper.event.EventAdapterService eventAdapterService,
javax.jms.Message message)
Unmarshal the given JMS message into an object for sending into the engine. |
unmarshal
Object unmarshal(net.esper.event.EventAdapterService eventAdapterService,
javax.jms.Message message)
throws net.esper.client.EPException
- Unmarshal the given JMS message into an object for sending into the engine.
- Parameters:
eventAdapterService
- is the wrapper service for eventsmessage
- is the message to unmarshal
- Returns:
- event to send to engine
- Throws:
net.esper.client.EPException
- if the unmarshal operation failed