Spring Framework Event Handling: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
Custom Events .
Custom Events .
</font>
</font>
=Threading Consideration=
Spring event handling is single threaded and synchronous in nature. If an event is published, until and unless all receivers get the message, the processes are blocked and the flow will not continue.


=Application Event Listener=
=Application Event Listener=

Revision as of 20:49, 23 November 2018

External

Internal

Overview

ContextStartedEvent, ContextStoppedEvent, ApplicationListener.

Custom Events .

Threading Consideration

Spring event handling is single threaded and synchronous in nature. If an event is published, until and unless all receivers get the message, the processes are blocked and the flow will not continue.

Application Event Listener