mbassador icon indicating copy to clipboard operation
mbassador copied to clipboard

Programatically configure listeners/subscriptions

Open rick-triage opened this issue 10 years ago • 2 comments

I have a use case where I need to read in a list of listeners and their subscription details from a config file. This is integrating into an existing system so it's not feasible to annotate the message handlers. I would like to be able to take an unannotated POJO and completely configure all details of the subscription and subscribe the listener programatically. I am willing to clone, do the work and submit a pull request but just wondered if this had come up before and any thoughts on the preferred direction.

rick-triage avatar May 20 '15 21:05 rick-triage

Hey Rick, did you actually work on such a feature? Programmatic listener subscription is a feature that seems very useful.

bennidi avatar Oct 07 '15 09:10 bennidi

Hi! There're news about this? I would like to configure as listener with various handlers. But, I don't want to add the whole library as dependency (it's an almost "dependency free" domain). With a programmatic configuration the 'middle class' that I use for configuring the listener and the handlers can be deleted.

LukMas avatar May 16 '18 06:05 LukMas