My requirement is that i need to monitor a mail id from a j2ee application (using Jboss application server) and if any new mail comes, then i need to perform some action.
For monitoring the mailid, i am looking forward to use JMX, but not sure that these functionalities could be performed using JMX.
please guide me.