This content has been marked as final.
Show 3 replies
-
1. Re: Configure Queue from EAR
jinpsu Oct 2, 2008 2:53 PM (in response to jinpsu)I forgot to mention that my application is scoped. My META-INF/jboss-app.xml contains:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-app PUBLIC "-//JBoss//DTD J2EE Application 1.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd"> <jboss-app> <loader-repository> net.app:archive=ear <loader-repository-config> java2ParentDelegation=false </loader-repository-config> </loader-repository> </jboss-app>
I tried to do something similiar in META-INF/jboss-destinations-service.xml but it had no effect:<?xml version="1.0" encoding="UTF-8"?> <server> <loader-repository>jboss.messaging:loader=ScopedLoaderRepository <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> <mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue,name=queue/mdb"> <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> </mbean> </server>
-
2. Re: Configure Queue from EAR
jinpsu Oct 2, 2008 3:38 PM (in response to jinpsu)Oh, and I just realized that specifying a name of "queue/mdb" will actually create the queue "queue/queue/mdb". The name should read just "mdb".
However, it's still just ignoring my META-INF/jboss-destinations-service.xml, so I still don't know what's going on. -
3. Re: Configure Queue from EAR
jinpsu Oct 3, 2008 7:24 AM (in response to jinpsu)Nevermind, got it working now. Had to put the destinations file in the root of the ear and referenced it as a service module in jboss-app.xml.