Message bus no stopping when application stops?
I have four applications (let's call them S1, S2, M
and P), all running a message bus. P send messages to M through a point to point channel (over RMI). M resends the messages using a publish/subscribe channel. S1 and S2 are subscribers (also using RMI) to M channels.
The problem, is that when I stop application M, messages continue to go from P to S1 and S2 and if I restart M, S1 and S2 stop receiving messages.
This seems strange. Can the message bus in application M continue working even when the application has stopped? (All applications are running as Eclipse projects, inside Eclipse.)