Interface MessagePreparedStatementSetter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MessagePreparedStatementSetter
The callback to be used with the JdbcMessageHandler as an alternative to the SqlParameterSourceFactory.

Plays the same role as standard PreparedStatementSetter, but with Message<?> requestMessage context during handleMessage process in the JdbcMessageHandler.

Since:
4.2
See Also:
  • PreparedStatementSetter
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValues(PreparedStatement ps, org.springframework.messaging.Message<?> requestMessage)
    Set parameter values on the given PreparedStatement and message context.
  • Method Details