Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Process Manager (Stardust) » ActiveMQ Spring configuration throws "no declaration can be found for element 'amq:broker'"(ActiveMQ Spring with Stardust configuration problem)
ActiveMQ Spring configuration throws "no declaration can be found for element 'amq:broker'" [message #741994] Thu, 20 October 2011 04:25
Srinivasan Iyer is currently offline Srinivasan IyerFriend
Messages: 36
Registered: October 2011
Member
When Stardust is configured to use Spring with ActiveMQ as the JMS provider the following exception may be thrown - "no declaration can be found for element 'amq:broker'"

The problem is caused due to a reference to a non-existing XSD in amq-jms-queues-context.xml.

Solution:
1. Change the URI http://activemq.apache.org/schema/core/activemq-core.xsd to the URI for specific AMQ version you are using (for e.g.) http://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd (this will also resolve the related Eclipse build error)

2. Edit the spring.schemas file in the activemq-core jar file you are using and add an entry for the above XSD like so: http\://activemq.apache.org/schema/core/activemq-core-5.2.0.xsd=activemq.xsd These changes should resolve this issue.

[Updated on: Thu, 20 October 2011 08:35]

Report message to a moderator

Previous Topic:Why do we have to provide the schema name in the carnot.properties
Next Topic:How do I log the SOAP Request and Response messages in Stardust?
Goto Forum:
  


Current Time: Mon Dec 22 05:13:47 GMT 2014

Powered by FUDForum. Page generated in 0.18868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software