Starting with NServiceBus.NHibernate version 8.3.0, the built-in gateway API is obsolete and using it will produce the following message:
NHibernate gateway persistence is deprecated. Use the new NServiceBus.Gateway.Sql dedicated package. Will be treated as an error from version 9.0.0. Will be removed in version 10.0.0.
To migrate to the new gateway API:
- Add a reference to the NServiceBus.Gateway.Sql NuGet package and configure the gateway feature following the instructions available in the SQL Gateway Storage documentation.
- Remove any configuration that uses the legacy gateway API.
The timeout manager is removed from core which makes timeout storage obsolete.
- Any configuration APIs can safely be removed.
- Database tables must be manually removed from storage.