I suppose you really mean you want to create Queues or Topics? You probably need to pass a different name for your queue/topic, in the list of properties, when doing:
| createModule("my-queue", "jms-queue", properties); | Maybe take a look at this testcase that shows how the API is used to create datasources: http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_2_3_GA/testsuite/src/main/org/jboss/test/deployment/test/DeploymentServiceUnitTestCase.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182216#4182216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182216 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user