[ https://issues.apache.org/activemq/browse/SM-436?page=all ] Nicolas Biri resolved SM-436: -----------------------------
Resolution: Duplicate > Valid service unit jbi.xml with two "consumes" can not be deployed > ------------------------------------------------------------------- > > Key: SM-436 > URL: https://issues.apache.org/activemq/browse/SM-436 > Project: ServiceMix > Type: Bug > Components: servicemix-core > Versions: incubation > Reporter: Nicolas Biri > Priority: Blocker > > > When deploying a SU with two "consumes" elements in the jbi.xml file, XBean > creation and deployment failed with the following error : > org.springframework.beans.factory.BeanDefinitionStoreException: Error > registering bean with name '' defined in URL [file > :/C:/servicemix/wdir/service-assemblies/Demo_SA/version_1/sus/JmsBinding/Jms_SU/META-INF/jbi.xml]: > > Multiple 'property' definitions for property 'consumes' > The use of ResourceXmlApplicationContext in class > rg.apache.servicemix.jbi.deployment.DescriptorFactory seems to be the root of > the problem. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira