activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject activemq-broker.xml file and plugins !!!!
Date Tue, 09 Mar 2010 08:26:00 GMT

Hi,

I try to configure the plugins in the activemq-broker.xml file but I get an
error. 

dleXmlApplicationContext(bundle=activemq-broker.xml,
config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
113 in XML document from URL
[bundle://63.0:0/META-INF/spring/activemq-broker.xml] i
s invalid; nested exception is org.xml.sax.SAXParseException:
cvc-complex-type.2.4.a: Invalid content was found starting with element
'plugins'. One of '{"http:
//activemq.apache.org/schema/core":taskRunnerFactory,
"http://activemq.apache.org/schema/core":tempDataStore,
"http://activemq.apache.org/schema/core":transport
ConnectorURIs, "http://activemq.apache.org/schema/core":transportConnectors,
WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
        at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:404)

Where should we place the plugins in the xml file ?

I place it before the transportConnector xml tag :

        <plugins>
		      <loggingBrokerPlugin logAll="true" logConnectionEvents="false"/>
		      <timeStampingBrokerPlugin zeroExpirationOverride="1000"
ttlCeiling="60000" futureOnly="true"/>
		      <traceBrokerPathPlugin/>
    	</plugins>
        
        <!-- The transport connectors ActiveMQ will listen to -->
        <transportConnectors>
            <!-- <transportConnector name="openwire"
uri="tcp://localhost:61616" discoveryUri="multicast://default"/> -->
            <transportConnector name="openwire"
uri="tcp://localhost:61616"/>
            <!-- <transportConnector name="stomp"
uri="stomp://localhost:61613"/> -->
        </transportConnectors>

Remark : I use the activeMq 5.3 version

Kind regards,

Charles

-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/activemq-broker.xml-file-and-plugins-%21%21%21%21-tp27832667p27832667.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message