This content has been marked as final.
Show 4 replies
-
1. Re: Service Bean that depends on two queues
jaikiran Mar 4, 2009 5:07 AM (in response to rnicholson10)Post the queue configuration files.
-
2. Re: Service Bean that depends on two queues
wolfgangknauf Mar 4, 2009 5:52 AM (in response to rnicholson10)Hi,
you need an array syntax here:@Depends(value={"jboss.messaging.destination:service=Queue,name=A", "jboss.messaging.destination:service=Queue,name=B"})
Hope this helps
Wolfgang -
3. Re: Service Bean that depends on two queues
rnicholson10 Mar 4, 2009 5:56 AM (in response to rnicholson10)<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=A" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends> </mbean> <mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=B" xmbean-dd="xmdesc/Queue-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends> </mbean>
-
4. Re: Service Bean that depends on two queues
rnicholson10 Mar 4, 2009 6:02 AM (in response to rnicholson10)Perfect thanks!