Hi There,
As per design, the Dispatcher is initialized at very beginning of IS startup but it actually starts its activity of sending towards Broker and receiving events from Broker after all the packages are loaded.
Dispatcher needs the namespace to be loaded before starting the receiving and sending the events. In startup service, we can’t wait for the Dispatcher to start because for the Dispatcher to start the namespace should be loaded.
So, it is not possible to build an startup service which uses a built-in service that involves the Dispatcher, like in this case the built-in service “pub.publish:publish”.
Thanks,
#webMethods#Universal-Messaging-Broker#Integration-Server-and-ESB#broker