Looking for clarification on the autosubscribe behavior.
Was having issues with subscription messages not being sent. I was using a single event handler that handles an abstract super-class of multiple events. The subscription documentation here didn’t seem to help:
I eventually found the answer here:
The autosubscribe feature that NServiceBus has out of the box only automatically subscribes if there are handlers for the specific message types
I can fix the issue by explicitly subscribing to each message type after the endpoint has started.
What I’m still confused about though is that, without explicitly subscribing, instead of getting no subscription messages at all I got a single subscription message for one of the specific events, which is a sub-class of the type I handle. Does anyone know why that is?