Introduction
A Spring implementation of a simple message bus to be used within an application.
TBD
Compatibility with Java 9 modules
This library is fully compatible with Java 9 modules. Since it uses reflection, modules using these features need to be properly “opened”, such as in the following example:
module com.acme.mymodule
{
// ...
opens com.acme.mymodule.impl to it.tidalwave.messagebus.spring;
}
The packages in the opens
declaration are those containing the classes that are registered as message bus subscribers.
If this operation is not done, a runtime exception will occur; its message will explain which packages needsto be opened. More information about open modules and reflection is available in this Stack Overflow article.