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) Construct an instance based on the providedAllowListDeserializingConverter
.MessageRowMapper
(AllowListDeserializingConverter deserializer, LobHandler lobHandler) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
-
Constructor Details
-
MessageRowMapper
@Deprecated(forRemoval=true, since="6.4") public MessageRowMapper(AllowListDeserializingConverter deserializer, LobHandler lobHandler) Deprecated, for removal: This API element is subject to removal in a future version.since 6.4 (for removal) (if favor ofMessageRowMapper(AllowListDeserializingConverter)
) with a plain JDBC driver support for byte arrays.Construct an instance based on the providedAllowListDeserializingConverter
andLobHandler
.- Parameters:
deserializer
- theAllowListDeserializingConverter
to use.lobHandler
- theLobHandler
to use.
-
MessageRowMapper
Construct an instance based on the providedAllowListDeserializingConverter
.- Parameters:
deserializer
- theAllowListDeserializingConverter
to use.- Since:
- 6.4
-
-
Method Details
-
mapRow
- Specified by:
mapRow
in interfaceRowMapper<Message<?>>
- Throws:
SQLException
-
MessageRowMapper(AllowListDeserializingConverter)
) with a plain JDBC driver support for byte arrays.