mirror of https://github.com/abpframework/abp.git
Browse Source
Add and centralize Subscribe/Unsubscribe(string, IEventHandlerFactory) implementations for Azure and Kafka to avoid duplicate anonymous handler registrations (checks IsInFactories / returns NullDisposable or skips adding). Switch Kafka anonymous payload handling from JsonElement to the generic Serializer.Deserialize<object> to preserve original types. Refactor RabbitMQ handler resolution to include anonymous handler factories by matching event names and return handler list early when concrete event type is found. Update DistributedEventBusBase to use ResolveEventForPublishing to obtain event name and data together, and ensure GetEventData is applied at the correct point when processing incoming events.pull/25023/head
4 changed files with 55 additions and 48 deletions
Loading…
Reference in new issue