Illustration of how the difference between XML based and annotation based context configuration in Spring leads to different behaviours, by attempting to setup a connection to a Solace message bus through JNDI lookups.
https://hakanozbay.github.io/2017/03/30/spring-xml-vs-annotation.html