ava-innersource / Liquid-Application-Framework-1.0-deprecated

Liquid is a framework to speed up the development of microservices
MIT License
25 stars 13 forks source link

ILightWorker instances aren't discovered #211

Open bruno-brant opened 4 years ago

bruno-brant commented 4 years ago

LightWorker works by discovering all classes that derive from it, then exploring methods annotated with Queue and Topic.

https://github.com/Avanade/Liquid-Application-Framework/blob/f4899e410442e6fe27858c16d4b32f6203444c9f/src/Liquid.Activation/Worker/LightWorker.cs#L85

However, the framework defines a ILightWorker. Since that class is never discovered, the interface is useless.

We have the option of either retiring ILightWorker or changing the discovery process to scan for it instead.