[jboss-user] [JBossMQ] - Re: Configure Queue from EAR

jinpsu do-not-reply at jboss.com
Thu Oct 2 14:53:42 EDT 2008


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>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180132#4180132

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180132



More information about the jboss-user mailing list