Package net.sf.eBus.feed.historic.store
Interface IMessageDecoder
-
public interface IMessageDecoderConvertsResultSetinto eBusnotification messagefor given message key. Providing message key means that message subject does not need to be stored in SQL database.- Author:
- Charles W. Rapp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ENotificationMessagetoMessage(EMessageKey key, ResultSet rs)Returns eBus notification message created from the given message key and SQL result set.
-
-
-
Method Detail
-
toMessage
ENotificationMessage toMessage(EMessageKey key, ResultSet rs) throws SQLException
Returns eBus notification message created from the given message key and SQL result set.- Parameters:
key- decoded eBus message key.rs- result set containing remaining message fields.- Returns:
- eBus notification message subject.
- Throws:
SQLException- if attempt to access needed message fields in result set fails.
-
-