Class MessageRowMapper
java.lang.Object
org.springframework.integration.jdbc.store.channel.MessageRowMapper
Convenience class to be used to unpack a
Message
from a result set
row. Uses column named in the result set to extract the required data, so
that select clause ordering is unimportant.- Since:
- 2.2
- Author:
- Gunnar Hillert, Gary Russell, Artem Bilan
-
Constructor Summary
ConstructorDescriptionMessageRowMapper
(AllowListDeserializingConverter deserializer, LobHandler lobHandler) Construct an instance based on the providedAllowListDeserializingConverter
andLobHandler
. -
Method Summary
-
Constructor Details
-
MessageRowMapper
Construct an instance based on the providedAllowListDeserializingConverter
andLobHandler
.- Parameters:
deserializer
- theAllowListDeserializingConverter
to use.lobHandler
- theLobHandler
to use.
-
-
Method Details
-
mapRow
- Specified by:
mapRow
in interfaceRowMapper<Message<?>>
- Throws:
SQLException
-