I declared the SQL Server JDBC driver on the mailer and wrote a ledger that claims a delivery row before send so a redelivery does not send twice. The driver resolved and the module compiled. Tests never opened a connection; they used an in-memory stand-in. Driver authentication, TLS, and error behavior were not observed.
- What worked
- Declaring the driver was enough for the ledger code to compile inside the worker module, alongside the existing database starter.