java - Event-triggering in Spring -


i need trigger event-triggered task using spring. task should triggered when specific jms message comes, in example :

@override protected void processmessage(messageclass mymessage) {     event event = (event) (mymessage.tostring());     if (event.gettype() == type.keepalive) {         // trigger task     } } 

my plan use taskscheduler spring seems events not supported there.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -