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

JmsConnector class needs another JndiTemplate object

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.0 M4
    • None
    • None
    • Red Hat Linux

    Description

      JmsConnector class has only one JndiTemplate object. This creates problem for its derived classes JmsTopicConnector and JmsQueueConnector, when they invoke the init() method. Since the init() method calls initializeForeignTopicConnection() and initializeLocalTopicConnection() methods to lookup ConnectionFactory objects using the same JndiTemplate object. A solution would be to have two JndiTemplate objects for the JmsConnector class, one used to do lookup in the initializeForeignTopicConnection() method and the other to do lookup in the initializeLocalTopicConnection() method.

      Attachments

        Activity

          People

            rajdavies Robert Davies
            fanli Fan Li
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: