4 Replies Latest reply on Mar 4, 2009 6:02 AM by Ross Nicholson

    Service Bean that depends on two queues

    Ross Nicholson Apprentice

      I have two queues A and B, and I want my service bean to be dependent on these two queues.

      So my depends clause looks like this but it's wrong:

      @Depends("jboss.messaging.destination:service=Queue,name=A,jboss.messaging.destination:service=Queue,name=B")
      


      My service bean is working fine and runs correctly once I deploy it after JBoss is started.

      What would be the correct argument to my depends clause.

      Thanks,

      Ross