activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: activemq-broker.xml file and plugins !!!!
Date Tue, 09 Mar 2010 08:54:00 GMT
Hi Charles,

try putting it before <systemUsage>

Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Tue, Mar 9, 2010 at 9:43 AM, cmoulliard <cmoulliard@gmail.com> wrote:

>
> Hi Dejan,
>
> I use Spring 2.5.6 and activemq-broker.xml is deployed in Fuse SMX 4.2.
>
> I have placed plugins after the SystemUsage and before transportConnectors
> and it works now .
>
> Kind regards,
>
> Charles
>
>
> Dejan Bosanac wrote:
> >
> > Hi Charles,
> >
> > if you run with Spring 3.x then you need to keep your tags in
> alphabetical
> > order. You probably have something in front of <plugins> tag that messes
> > things up.
> >
> > Cheers
> > --
> > Dejan Bosanac - http://twitter.com/dejanb
> >
> > Open Source Integration - http://fusesource.com/
> > ActiveMQ in Action - http://www.manning.com/snyder/
> > Blog - http://www.nighttale.net
> >
> >
> > On Tue, Mar 9, 2010 at 9:26 AM, cmoulliard <cmoulliard@gmail.com> wrote:
> >
> >>
> >> 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.
> >>
> >>
> >
> >
> > -----
> > Dejan Bosanac
> >
> > Open Source Integration - http://fusesource.com/
> > ActiveMQ in Action - http://www.manning.com/snyder/
> > Blog - http://www.nighttale.net
> >
>
>
> -----
> 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-tp27832667p27832827.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message