Is it possible to register Producer or Consumer at runtime? #406
Replies: 2 comments 3 replies
-
Hello, At the moment, it is not possible to add additional consumers or producers at runtime. The current implementation performs certain optimizations and initializations during application startup, which would complicate support for dynamic configuration. Additionally, integrating this capability would present further challenges with plugins like Outbox. So far, dynamic reconfiguration hasn't been a required use case, which is why it hasn't been implemented. That said, we’re open to considering this feature. However, it would involve changes to the core logic as well as all existing transport implementations. Could you please share more details about your use case and requirements? This would help us better understand the need and evaluate potential solutions. |
Beta Was this translation helpful? Give feedback.
-
Thanks @zarusz for your reply. I will look into it and get back to you when I start building more stuff using your suggestions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As per the sample code, it is only possible to register Producers and Consumers only at the DI time. Is it possible to register Producers and Consumers at runtime.
Also, is it possible for non-DI object to register itself as a consumer at runtime?
Beta Was this translation helpful? Give feedback.
All reactions