Hi Thomas
we used the same @Singleton/@Startup/@PostConstruct approach, because we were able to use a superclass for this stuff.
But what I mentioned before, we are not so happy with this ejb/mbean-mix. This CDI extension way looks better.
The ported jmx-console is nice.
With the old jmx-console there used to be methods to startDelivery/stopDelivery to MDBs. Is there anywey to do this through jmx / admin-console in AS 7?
Thanks,
Magnus.
Not on the MDBs, but on the queues themselves.
Check-out the cortresponding entry for your queue with ObjectName org.hornetq:module=JMS,type=Queue and use the pause/resume operations.