kandi X-RAY | Wrapperizer Summary
kandi X-RAY | Wrapperizer Summary
Wrapperizer
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Wrapperizer
Wrapperizer Key Features
Wrapperizer Examples and Code Snippets
Community Discussions
Trending Discussions on Wrapperizer
QUESTION
I have a base class IntegrationEvent
and all other business events inherited from that.
ANSWER
Answered 2020-Jun-14 at 23:39First, you can do this entirely with Publish
, there is no need to configure all of the things you've done to try to work around the issue. You can configure your consumers by convention, and let them get configured on their own endpoints. The one part you missed is the way the messages are published.
From your List
, my suspicion is that you were calling Publish(T message)
where T
was inferred to be IntegrationEvent
. This is why you're only getting messages on that exchange. You need to use the Publish(object message)
overload, so that the appropriate type is determined.
You can simply assign each message in the list to object, and then call Publish
with that object. Or, you can force the use of the overload:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Wrapperizer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page