Namespace PatternKit.Generators.Messaging
Classes
- AggregatorCompletionAttribute
Marks the static method used by a generated aggregator completion policy.
- AggregatorCorrelationAttribute
Marks the static method used by a generated aggregator key selector.
- AggregatorProjectionAttribute
Marks the static method used by a generated aggregator result projection.
- BackplaneRequestReplyAttribute
Declares a generated request/reply command endpoint and route.
- BackplaneSubscriptionAttribute
Declares a generated publish/subscribe topic subscription.
- ContentRouteAttribute
Marks a static method as a generated content-router route handler.
- ContentRouteDefaultAttribute
Marks a static method as the generated content-router default handler.
- ControlBusCommandAttribute
Marks a static method as a generated control bus command handler.
- DeadLetterStoreFactoryAttribute
Marks the store factory used by a generated dead-letter channel.
- DurableSubscriberHandlerAttribute
Marks a static method as a generated durable subscriber handler.
- DynamicRouteAttribute
Marks a static method as an initial generated dynamic-router route handler.
- DynamicRouteDefaultAttribute
Marks a static method as the generated dynamic-router default handler.
- GenerateAggregatorAttribute
Generates a typed aggregator factory for a partial class or struct.
- GenerateBackplaneTopologyAttribute
Generates a typed backplane topology method for request/reply routes and publish/subscribe endpoints.
- GenerateContentRouterAttribute
Generates a typed content-router factory for a partial class or struct.
- GenerateControlBusAttribute
Generates a typed control bus factory for a partial class or struct.
- GenerateCorrelationIdentifierAttribute
Generates a factory for the Correlation Identifier enterprise integration pattern.
- GenerateDeadLetterChannelAttribute
Generates a dead-letter channel factory for failed or undeliverable messages.
- GenerateDispatcherAttribute
Marks an assembly for source-generated Mediator pattern implementation.
The Mediator pattern reduces coupling between components by centralizing communication through a mediator object. This source generator produces a standalone mediator with zero PatternKit runtime dependencies.
The generated mediator supports:
- Commands (request → response)
- Notifications (fan-out to multiple handlers)
- Streams (async enumerable results)
- Pipelines (pre/post hooks for cross-cutting concerns)
- GenerateDurableSubscriberAttribute
Generates a durable subscriber factory for a partial class or struct.
- GenerateDynamicRouterAttribute
Generates a typed dynamic-router factory for a partial class or struct.
- GenerateGuaranteedDeliveryAttribute
Generates a typed Guaranteed Delivery queue factory for a partial class or struct.
- GenerateMailboxAttribute
Generates a typed mailbox factory for a partial class or struct.
- GenerateMessageEnvelopeAttribute
Generates typed factories for a message envelope contract.
- GenerateMessageExpirationAttribute
Generates a typed message-expiration policy factory for a partial class or struct.
- GenerateMessageFilterAttribute
Generates a typed message-filter factory for a partial class or struct.
- GenerateMessageStoreAttribute
Generates a typed message-store factory for a partial class or struct.
- GenerateRecipientListAttribute
Generates typed factory methods for a recipient-list class.
- GenerateReliabilityPipelineAttribute
Generates idempotent receiver, inbox processor, and outbox factories for a reliable messaging pipeline.
- GenerateRoutingSlipAttribute
Generates typed factory methods for a routing slip class.
- GenerateSagaAttribute
Generates typed factory methods for a saga/process manager class.
- GenerateSplitterAttribute
Generates a typed splitter factory for a partial class or struct.
- GenerateWireTapAttribute
Generates a typed wire-tap factory for a partial class or struct.
- MailboxErrorHandlerAttribute
Marks the static method used by a generated mailbox error handler.
- MailboxEventSinkAttribute
Marks the static method used by a generated mailbox event sink.
- MailboxHandlerAttribute
Marks the static method used by a generated mailbox handler.
- MessageEnvelopeHeaderAttribute
Declares a required header for a generated message envelope contract.
- MessageFilterRuleAttribute
Marks a static predicate as an allow rule in a generated message filter.
- MessageStoreIdentityAttribute
Marks a static method as the generated message identity selector.
- MessageStoreRetentionAttribute
Marks a static predicate as the generated message-store retention policy.
- RecipientListRecipientAttribute
Marks a static method as a generated recipient-list handler.
- ReliabilityHandlerAttribute
Marks the handler used by a generated reliability pipeline.
- ReliabilityKeySelectorAttribute
Marks an optional idempotency key selector used by a generated reliability pipeline.
- RoutingSlipStepAttribute
Marks a static method as a generated routing slip step.
- SagaCompleteWhenAttribute
Marks a static method as the generated saga completion predicate.
- SagaStepAttribute
Marks a static method as a generated saga step.
- SplitterProjectionAttribute
Marks the static method used by a generated splitter projection.
- WireTapHandlerAttribute
Marks a static method as a generated wire-tap handler.
Enums
- GeneratedVisibility
Specifies the visibility of generated types.