You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Szczepan Kuzniarz (Created) (JIRA)" <ji...@apache.org> on 2012/02/16 16:54:59 UTC
[jira] [Created] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
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
[jira] [Assigned] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned AMQ-3723:
--------------------------------
Assignee: Claus Ibsen
> 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: Improvement
> Affects Versions: 5.5.1
> Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
> Reporter: Szczepan Kuzniarz
> Assignee: Claus Ibsen
> Fix For: 5.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466763#comment-13466763 ]
Claus Ibsen commented on AMQ-3723:
----------------------------------
I have reproduced the issue. Will look into a fix.
The 5.7 release is in progress, so scheduling this for the next release.
> 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: Improvement
> Affects Versions: 5.5.1
> Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
> Reporter: Szczepan Kuzniarz
> Assignee: Claus Ibsen
> Fix For: 5.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466793#comment-13466793 ]
Claus Ibsen commented on AMQ-3723:
----------------------------------
I have attached a patch to XBEAN-227 that fixes this.
> 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: Improvement
> Affects Versions: 5.5.1
> Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
> Reporter: Szczepan Kuzniarz
> Assignee: Claus Ibsen
> Fix For: 5.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved AMQ-3723.
------------------------------
Resolution: Fixed
Upgraded to xbean 3.12
> 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: Improvement
> Affects Versions: 5.5.1
> Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
> Reporter: Szczepan Kuzniarz
> Assignee: Claus Ibsen
> Fix For: 5.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446753#comment-13446753 ]
Claus Ibsen commented on AMQ-3723:
----------------------------------
Have you tried with a newer release of xbean? There is a 3.11.1 release
http://search.maven.org/#artifactdetails%7Corg.apache.xbean%7Cxbean-spring%7C3.11.1%7Cbundle
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated AMQ-3723:
-----------------------------
Fix Version/s: 5.8.0
Issue Type: Improvement (was: Bug)
> 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: Improvement
> Affects Versions: 5.5.1
> Environment: JDK 1.6, Spring Framework 3.1.0.RELEASE
> Reporter: Szczepan Kuzniarz
> Fix For: 5.8.0
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Szczepan Kuzniarz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465638#comment-13465638 ]
Szczepan Kuzniarz commented on AMQ-3723:
----------------------------------------
Unfortunately a new version of xbean-spring doesn't help.
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3723) Namespace handler not compatible with
Spring 3.1 bean profiles
Posted by "Chris Beams (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13209525#comment-13209525 ]
Chris Beams commented on AMQ-3723:
----------------------------------
To be precise, this isn't an issue with bean _profiles_, i.e. {{<beans profile="...">}}, but rather with nested {{<beans>}} elements. The implementation of {{XBeanNamespaceHandler}} explicitly rejects {{<amq:*>}} elements unless they are declared at the first level of depth in the XML document. Those within nested {{<beans>}} elements are one level deeper, and so being excluded.
> 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