Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7875

Auto creation of destinations for MDBs is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.M3
    • None
    • EJB, JMS (HornetQ)
    • None

      The auto creation of destinations for MDBs is broken in AS trunk with HornetQ. The org.jboss.as.integration.hornetq.deployers.DestinationFactoryDeployerPlugin responsible for creating the destination has multiple issues:

      1) It uses the "destination" activation config property as the destination name and then creates a jndi name for that destination. This is incorrect because the "destination" activation config property itself is the jndi name.

      2) This org.jboss.as.integration.hornetq.deployers.DestinationFactoryDeployerPlugin along with the CreateDestinationDeployer creates a JMSConfiguration as an attachment to the deployment unit. If there are more than one MDBs which require creation of destinations, then this deployer ends up using the same attachment name for both the attachment names, ending up the "last one is the winner" scenario.

            csuconic@redhat.com Clebert Suconic
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: