Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0
-
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.