Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3748

ActiveMQEndpointWorker$1: Run method is synchronized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.6.0
    • 5.6.0
    • JCA Container
    • None
    • JBoss AS 7.1

    Description

      As posted in this mail [0] by Ed Keen there is a issue in the ActiveMQEndpointWorker.

      I checked the spec the JBoss guys mentioned and in section 10.3.2 it is clearly stated:
      "Both the run and release methods in the Work implementation may contain
      synchronization blocks but they must not be declared as synchronized methods."

      Removing the "synchronized" worked for some people trying this. But I think it was added intentionally, so somebody should check an appropriate alternative.

      This bug prevents ActiveMQ from being deployed on JBoss AS 7.1

      [0]: http://mail-archives.apache.org/mod_mbox/activemq-users/201202.mbox/%3CCAC=rkz2XZmJo3D03kHG6nfz0c800-Mh=9JH6qb=zeGQyU=MNXQ@mail.gmail.com%3E
      [1]: http://download.oracle.com/otn-pub/jcp/connector_architecture-1.6-fr-oth-JSpec/connector-1_6-final-spec.pdf

      Attachments

        Activity

          People

            rajdavies Robert Davies
            hoegertn Thorsten Hoeger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: