Search code examples
reactorproject-reactor

Shading reactor


I am trying to shade the reactor (https://github.com/reactor/reactor) and am running into an issue starting the event bus up. I am getting the following error. Any advice on shading this project would be greatly appreciated

Caused by: java.lang.IllegalArgumentException: No Dispatcher found for name 'threadPoolExecutor', it must be present in the configuration properties or being registered programmatically through this#setDispatcher(threadPoolExecutor, someDispatcher)

Solution

  • There should also be a properties file in META-INF/reactor/reactor-environment.properties. Without this in the classpath you will see this error.