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​(java.sql.PreparedStatement ps, org.springframework.messaging.Message<?> requestMessage)  
  • Method Details

    • setValues

      void setValues​(java.sql.PreparedStatement ps, org.springframework.messaging.Message<?> requestMessage) throws java.sql.SQLException
      Throws:
      java.sql.SQLException