Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2.2
-
None
Description
When both a service and its broker are restarted together (e.g. after a reboot) the service will fail to initialize if the broker is not ready. The service claims it is shutting down, e.g. with 3 lines such as:
>>>> Terminating Controller:StoryBoundary Unable To Initialize Listener Due to Invalid Broker URL:tcp://telly.watson.ibm.com:61616
but it then hangs.
The service should wait for the broker, and log to the console when it has successfully connected. Could also log a "still trying" indication every minute or so. Would be nice to suppress these spring error msgs: org.springframework.jms.listener.AbstractJmsListeningContainer$SharedConnectionNotInitializedException