|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the contract for a message converter to convert javax.jms.Message
to events. The implementation of this interface needs to be aware of an event type definition so that
events of that type can be created from the javax.jms.Message
.
The implementation of this interface should parse a javax.jms.Message
, introspect the
registered event definition, create events in accordance with the event definition and populate
the event property values with data read from the javax.jms.Message
.
Method Summary | |
Map |
fromMessage(String eventType,
Map params,
Message message)
This method parses a javax.jms.Message and returns a Map whose keys represent the
event properties(introspected from event type) and values read from the javax.jms.Message |
Method Detail |
public Map fromMessage(String eventType, Map params, Message message) throws MessageFormatException
javax.jms.Message
and returns a Map whose keys represent the
event properties(introspected from event type) and values read from the javax.jms.Message
eventType
- - String event typeparams
- - Mapmessage
- - Message a JMS message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |