Re: Newbie Question about Plugins

2010-10-08 Thread Dejan Bosanac
Thanks Bruce. 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 7:43 PM, Bruce Snyder wrote: > On Thu, Oct 7, 2010 at 10:37 AM, Mentor1

Re: Newbie Question about Plugins

2010-10-07 Thread Bruce Snyder
On Thu, Oct 7, 2010 at 10:37 AM, Mentor11 wrote: > > Nice one! You're right. I didn't know they introduced something like that. Is > there any deeper meaning why the tags must be ordered? Perhaps the Website > should be updated accordingly. > > Well at least I now know why I got these Errors thank

Re: Newbie Question about Plugins

2010-10-07 Thread Mentor11
Nice one! You're right. I didn't know they introduced something like that. Is there any deeper meaning why the tags must be ordered? Perhaps the Website should be updated accordingly. Well at least I now know why I got these Errors thanks. -- View this message in context: http://activemq.228332

Re: Newbie Question about Plugins

2010-10-07 Thread Dejan Bosanac
Hi, I think your problem is that your tags aren't alphabetically ordered. That's something introduced in 5.4 by upgrade to Spring 3.0 (which I think also breaks plugins attribute). Anyway, try making them in order (destinationPolicies before plugins, etc) and it should be fine. Cheers -- Dejan B

Re: Newbie Question about Plugins

2010-10-07 Thread Mentor11
You're right your config is working. I tested a little bit and I found out, that I get the error when adding these other tags like destinationPolicy etc. How do I have to add these predefined tags so I can have them working together with my Plugin. I might have read somewhere that I have to change

Re: Newbie Question about Plugins

2010-10-07 Thread Dejan Bosanac
Just tried this configuration and it works just fine in 5.4.1. 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.s

Re: Newbie Question about Plugins

2010-10-07 Thread Mentor11
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 me

Re: Newbie Question about Plugins

2010-10-07 Thread Dejan Bosanac
Hi, you just need to add your JAR to the lib/ folder and it will be picked by the broker on startup. For configuring you add your bean inside the tab like http://www.springframework.org/schema/beans"; id="loggingPlugin" class="org.apache.activemq.broker.util.LoggingBrokerPlugin" /> We'l

RE: Newbie Question about Plugins

2010-10-06 Thread Allen Reese
The plugins= attribute is broken in 5.4.1: https://issues.apache.org/activemq/browse/AMQ-2939 That syntax works in 5.3.2. Unfortunately, I have never tried the syntax, so I'm not much help there. :( --Allen -Original Message- From: Mentor11 [mailto:dhagen...@aol.com] Sent: Wednesday