Interface JdbcDelivery.Mutation

Enclosing class:
JdbcDelivery
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 static interface JdbcDelivery.Mutation
Application mutation executed inside the same transaction as the inbox insertion.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(Connection connection, byte[] payload)
    Applies consumer effects on the exact caller connection.
  • Method Details

    • apply

      void apply(Connection connection, byte[] payload) throws SQLException
      Applies consumer effects on the exact caller connection.
      Parameters:
      connection - active caller transaction
      payload - independent application bytes
      Throws:
      SQLException - if application mutation fails