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? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -