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

java - How to create Table using Apache PDFBox -

mpi - Why is MPI_Bsend not returning error even when the buffer is insufficient to accommodate all the messages -