Re: When is JMSXUserID set?

2010-10-20 Thread Mentor11
The Brokerfilter is already set. The UserId is successfully retrieved at the Consumer, but can I manipulate when that BrokerFilter is called? I want to read that ID in another BrokerFilter -- View this message in context: http://activemq.2283324.n4.nabble.com/When-is-JMSXUserID-set-tp3000984p300

Adding Eclipse Compiler to ActiveMQ

2010-10-18 Thread Mentor11
Hi, I have yet another Question. I have created a Plugin for ActiveMQ that needs the org.eclipse.jdt I have tried adding the org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar from the current Eclipse distributen to the lib folder but that didn't help. Can anybody help? -- View this message in context:

When is JMSXUserID set?

2010-10-18 Thread Mentor11
Hi, I want to use the getUserId Method inside a BrokerPlugin. I printed the value but it is always null. But once the Message is consumed the proper User is set. Can I use that Property in a BrokerPlugin? Or do I have to create my own Porperty? Thanks in advance. -- View this message in context

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 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 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

Newbie Question about Plugins

2010-10-06 Thread Mentor11
Hi everyone, I want to develop a simple plugin for ActiveMQ, but following the examples on http://activemq.apache.org/developing-plugins.html doesn't get me anywhere. My Plugin doesn't do anything it's just a MyPlugin.class implementing BrokerPlugin and a MyBroker.class extending BrokerFilter with