[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - AS 5 profiles must have empty configuration, Java EE example
jmesnil
do-not-reply at jboss.com
Mon Apr 27 08:35:34 EDT 2009
Currently, our Java EE examples relies on JMS resources defined by default in the profile (in jbm-queues.xml + jbm-jms.xml).
However, we must not provide JMS resources by default in AS 5 profiles.
I'll remove them from the profiles generated by JBM2 and update the examples so that they provide their own config.
I'll remove both jbm-queues.xml and jbm-jms.xml.
E.g. for the MDB example,
When the example is run (ant run), I copy the configuration required by the example (1 CF + 1 queue) to $JBOSS_HOME/default-with-jbm2/deploy/messaging.sar and I wait 5 seconds to let the deployer deploy the resources.
Then I run the MDB example.
Finally, I remove the configurations file I just copied to let the profile in the state it was before.
I'll update the others examples so they follow the same model.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227027#4227027
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227027
More information about the jboss-dev-forums
mailing list