geronimo-xbean-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (XBEAN-227) Add support for Spring 3.1 bean profiles
Date Mon, 01 Oct 2012 13:03:09 GMT

    [ https://issues.apache.org/jira/browse/XBEAN-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466776#comment-13466776
] 

Claus Ibsen commented on XBEAN-227:
-----------------------------------

A very simple example with a beans profile could be to embed an AMQ broker in a profile called
"cool". as shown below
{code:xml}
<beans
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:amq="http://activemq.apache.org/schema/core"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
  http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">

<beans profile="cool">

	  <broker id="myBroker" useJmx="false" brokerName="myBroker" persistent="false" xmlns="http://activemq.apache.org/schema/core">

		  <transportConnectors>
			  <transportConnector uri="vm://myBroker" />
		  </transportConnectors>

	  </broker>

  </beans>


</beans>
{code}
                
> Add support for Spring 3.1 bean profiles
> ----------------------------------------
>
>                 Key: XBEAN-227
>                 URL: https://issues.apache.org/jira/browse/XBEAN-227
>             Project: XBean
>          Issue Type: Improvement
>            Reporter: Claus Ibsen
>            Priority: Critical
>
> When using the new feature of Spring 3.1 which is profiles, then the XBeanNamespaceHandler
does not support parsing namespaces nested in <beans> which has a profile associated.
> See AMQ-3723.

--
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

Mime
View raw message