I'm new with MDB and with EJB too, and i have some questions. I'm using JBoss4.0
I'm still doing some test, I have a SimpleMessageBean.java that implements MessageDrivenBean, MessageListener, a ejb-jar.xml:
and at jboss.xml i define:
It's working, i have a MDB for the 2 queues, but is that correct? or may be done different?
My second question is for when i leave the test times.. I will have several queues and that info will be stored somewhere else in a config file. With this config file we will know how many queues will be and the queue names. Can i wait to deploy the mdb until i read that file? or the deployment may be fixed?