Creating common Endpoint Configuration for azure service bus in azure functions

Hi All,

we are using the version 6 of the nuget “NServiceBus.AzureFunctions.Worker.ServiceBus”, we want to now customize the following, the idea is to have multiple endpoints use this common configuration, while the respective azure function projects overwriting as needed.

  • connection string
  • use JSON/newtonsoft serializer
  • Conventions for commands, events and messages
  • topic name
  • routing
  • persistence.
  • SubscriptionNamingConvention
  • SubscriptionRuleNamingConvention

any sample reference would be helpfull.

Tx - Nen