Namespace handler not compatible with Spring 3.1 bean profiles
--------------------------------------------------------------

                 Key: AMQ-3723
                 URL: https://issues.apache.org/jira/browse/AMQ-3723
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.5.1
         Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
            Reporter: Szczepan Kuzniarz


I try to configure an ActiveMQ broker and a connection factory using "amq:" 
prefixed tags ("http://activemq.apache.org/schema/core"; namespace) placed in 
the Spring application context definition. Namespaced tags placed inside a bean 
profile (profiles are a new feature for Spring 3.1) are silently ignored. The 
same tags placed outside a profile are parsed correctly.

It's not a bug in Spring Framework - see Chris Beams' comment to 
[SPR-9119|https://jira.springsource.org/browse/SPR-9119] issue.

There is a test project attached to 
[SPR-9119|https://jira.springsource.org/secure/attachment/19407/custom-namespace-test.zip]
 and - as Chris Beams writes - a test project on the SpringSource GitHub: 
https://github.com/SpringSource/spring-framework-issues/tree/master/SPR-9119.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to