Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.30
Description
Both the AMQP 0-x and 1.0 JMS clients modify the environment hashmap provided to them in their InitialContextFactory implementations by adding any properties loaded from a properties file into it. This is against the API requirements[1]:
"The environment parameter is owned by the caller. The implementation will not modify the object or keep a reference to it, although it may keep a reference to a clone or copy.
The affected classes are:
org.apache.qpid.jndi.PropertiesFileInitialContextFactory and org.apache.qpid.amqp_1_0.jms.jndi.PropertiesFileInitialContextFactory
Attachments
Issue Links
- relates to
-
QPID-6508 PropertiesFileInitialContextFactory silences important exceptions and is non-compliant with the InitialContext interface
- Resolved