Closed dseurotech closed 1 month ago
Attention: Patch coverage is 10.52632%
with 34 lines
in your changes missing coverage. Please review.
Project coverage is 16.78%. Comparing base (
296efcd
) to head (fae4a63
). Report is 4 commits behind head on develop.
Should guicelocator fail at broker startup, multiple instances of (Kapua)MessageListener are istantiated, failing device login due to split request/response maps. In general, guice modules should avoid doing logic, and should avoid failing. Guice cannot guarantee that singleton objects previously instantiated are killed - which in some cases can be very distruptive. This pr both avoids multiple guiceLocator instantiation attempts within a single process, but also puts in place safeguards that ensure that message correlation will continue to work even if there are multiple (Kapua)MessageListener (possibly due to changes in the wiring).