This content has been marked as final.
Show 2 replies
-
1. Re: Question about WritingDeploymentTemplates
dimitris Oct 14, 2008 1:46 PM (in response to martin.capote)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 -
2. Re: Question about WritingDeploymentTemplates
martin.capote Oct 15, 2008 7:04 AM (in response to martin.capote)I want to create dynamically the Queues and the MDBs. I don't have problems creating queues.
A clarification: I can succefully create one MDB, The problem occurs when creating the second (i get the InstanceAlreadyExistsException).
Thanks for the testcase, i take a look.