@FunctionalInterface public interface DeadLetterTableFactory
DeadLetter entry
table and its indices.| Modifier and Type | Method and Description |
|---|---|
Statement |
createTableStatement(Connection connection,
DeadLetterSchema schema)
Creates a
Statement to use for construction of a
DeadLetter entry table and its indices. |
Statement createTableStatement(Connection connection, DeadLetterSchema schema) throws SQLException
Statement to use for construction of a
DeadLetter entry table and its indices.
The returned Statement typically contains several SQL statements and hence the invoker is inclined to
execute the Statement as a batch by invoking Statement.executeBatch(). Furthermore, it is
expected that this statement at least constructs the required uniqueness constraints.
connection - The connection to create the Statement with.schema - The schema defining the table and column names.statement to create the table and its indices with, ready to be
executed.SQLException - when an exception occurs while creating the Statement.Copyright © 2010–2025. All rights reserved.