activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: Newbie Question about Plugins
Date Thu, 07 Oct 2010 11:16:37 GMT
Just tried this configuration and it works just fine in 5.4.1.

<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-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd">

  <broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data"
destroyApplicationContextOnStop="true">

      <plugins>
          <bean xmlns="http://www.springframework.org/schema/beans"
id="loggingPlugin"
class="org.apache.activemq.broker.util.LoggingBrokerPlugin" />
      </plugins>

  </broker>
</beans>

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 Thu, Oct 7, 2010 at 1:00 PM, Mentor11 <DHagenBln@aol.com> wrote:
>
> hmm.. I tried using the plugins tag inside broker and bean outside with
> plugins attribute inside the broker tag in 5.3.2. Both Methods are working.
> But as soon as I try one of those Methods in 5.4.1 I get one of the above
> Errors.
> Seems like I will have to stick with 5.3.2 for now.
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Newbie-Question-about-Plugins-tp2965936p2966554.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message