Skip to content

Publications in the Message Mapper Pipeline#3048

Merged
iancooper merged 7 commits into
masterfrom
publication_messagemapper
Mar 29, 2024
Merged

Publications in the Message Mapper Pipeline#3048
iancooper merged 7 commits into
masterfrom
publication_messagemapper

Conversation

@iancooper

Copy link
Copy Markdown
Member

The Message Mapper Pipeline sometimes needs to access the metadata of the Publication, such as the Topic. This prevents us from creating a default message mapper, because we cannot access some fields which depend on the publication. In addition our support for CloudEvents is hampered by our inability to set metadata which is added to the header via CloudEvents such as Source and Subject. This naturally fits with the Publication but is again inaccessible. Whilst again, we could hard code this, we would continue to limit the ability to use a default mapper if we did that.

@iancooper iancooper added 2 - In Progress Breaking Change v10 .NET Pull requests that update .net code labels Mar 27, 2024
@iancooper iancooper self-assigned this Mar 27, 2024
@iancooper iancooper marked this pull request as ready for review March 29, 2024 21:45
@iancooper iancooper merged commit 7d0724b into master Mar 29, 2024
@iancooper iancooper deleted the publication_messagemapper branch June 21, 2024 14:14
DevJonny pushed a commit to DevJonny/Brighter that referenced this pull request Feb 28, 2026
* Update the ADR for the Publisher Registry Issue

* Move message mapper registry and transform factories to External Bus from Command Processor; remove plural from bus name.

* Can construct instances of EventBus using ServiceProvider based Transform Factories

* Simplify mapper pipeline choice

* Expose Publication from Producer; move Outbox properties to EventBus configuration

* Take a Publication into the MapToMessage method; move Outbox parameters to external service bus not Publication.

* Pass Publication to Transform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Done Breaking Change .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant