3 Replies Latest reply on Oct 28, 2013 11:28 AM by Tomohisa igarashi

    How to wait for HornetQ RAR deployment on AS7

    Tomohisa igarashi Master



      I have a problem on SwitchYard JCA binding which is sometimes deployed before the HornetQ RAR is initialized.

      [SWITCHYARD-1789] JCAActivator should wait for the HornetQ RAR deployment - JBoss Issue Tracker


      In order to activate inflow endpoint, SwitchYard JCA binding acquires RAR instance from ResourceAdapterRepository at deployment time. However, sometimes it fails as HornetQ RAR is not deployed yet. Do you guys have any idea to hook HornetQ RAR deployment event? I tried adding jboss-deployment-structure.xml with a dependency on org.hornetq.ra module, but it doesn't solve the problem.