java Code to start MDB Listener
I am currently using J2EE SOA banking application.I have created a new MDB to process a message in the queue.
Now i need to check an attribute say'X'. if X=true then my MDB Listener should be started else should be stoped.
Functionally depending on the flag set it should pick up the message i,e listener should be started.
Queues and QCF configuration are done.
Please let me know how can i start /stop listener directly in Java.
There is an alternative way of writing JACL/Jython scritping then calling the batch file through JAVA.