Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1267

ActiveMQResourceAdapter improvements

    XMLWordPrintableJSON

Details

    Description

      Hardened the current ActiveMQResourceAdapter start and stop code.

      The adapter should not prevent a server from starting or stopping, and is now threaded in context.

      The ActiveMQ5Factory will now override the following configuration options which may cause shutdown issues if set to true.

      broker.setUseShutdownHook(false);
      broker.setSystemExitOnShutdown(false);

      The broker is now started, and creates a check point, before it is returned to OpenEJB. This ensures that all pools and resources that ActiveMQ initiates are up before OpenEJB gains access.

      Attachments

        1. ActiveMQ.patch
          17 kB
          Andy Gumbrecht
        2. ActiveMQ.patch
          8 kB
          Andy Gumbrecht
        3. OPENEJB-1267.patch
          19 kB
          Andy Gumbrecht

        Activity

          People

            madshaddow Andy Gumbrecht
            andyg Andy Gumbrecht
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: