You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Karel Gardas <ka...@centrum.cz> on 2013/08/20 11:58:58 UTC
AMQ 5.7.0 and interceptors configuration.
Hello,
I'm trying to configure our specific authorization interceptor into
ActiveMQ 5.7.0 and while following
http://activemq.apache.org/interceptors.html page I'm neither able to
define plugin as an xbean and then reference it in the broker
tag/element nor define it in plugins element inside the broker. I always
get SAXParseException complaining that such format is not supported. So
neither of two offered ways work for me.
My question is: is http://activemq.apache.org/interceptors.html already
out-dated and if so, what shall I do in order to integrate our
interceptor with 5.7.0 release?
Thanks!
Karel
Re: AMQ 5.7.0 and interceptors configuration.
Posted by Karel Gardas <ka...@centrum.cz>.
Wow! That works! Thanks a lot for your fast help!
Karel
On 08/20/13 02:41 PM, Christian Posta wrote:
> try putting the spring namespace in your bean element:
>
> <plugins>
> <bean xmlns="http://www.springframework.org/schema/beans"
> id="OpenPMF"
> class="com.objectsecurity.openpmf.activemq.PMFPlugin"/>
> </plugins>
>
>
> On Tue, Aug 20, 2013 at 5:14 AM, Karel Gardas<ka...@centrum.cz>wrote:
>
>>
>> In 5.7.0 XML schema I don't see plugins element defined so I'm still
>> curious how the interceptors.html page may be correct. Anyway, my xml
>> config file is attached.
>>
>> Thanks!
>> Karel
>>
>>
>> On 08/20/13 01:50 PM, Gary Tully wrote:
>>
>>> post the xml config you are using and the parse exception. that doco
>>> is fine... pay attention to the detail in the error and the xml schema
>>> - http://activemq.apache.org/**xml-reference.html<http://activemq.apache.org/xml-reference.html>
>>>
>>> On 20 August 2013 10:58, Karel Gardas<karel.gardas@centrum.cz**> wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I'm trying to configure our specific authorization interceptor into
>>>> ActiveMQ
>>>> 5.7.0 and while following http://activemq.apache.org/**interceptors.html<http://activemq.apache.org/interceptors.html>page
>>>> I'm neither able to define plugin as an xbean and then reference it in
>>>> the
>>>> broker tag/element nor define it in plugins element inside the broker. I
>>>> always get SAXParseException complaining that such format is not
>>>> supported.
>>>> So neither of two offered ways work for me.
>>>>
>>>> My question is: is http://activemq.apache.org/**interceptors.html<http://activemq.apache.org/interceptors.html>already
>>>> out-dated and if so, what shall I do in order to integrate our
>>>> interceptor
>>>> with 5.7.0 release?
>>>>
>>>> Thanks!
>>>> Karel
>>>>
>>>
>>>
>>>
>>>
>>
>
>
Re: AMQ 5.7.0 and interceptors configuration.
Posted by Christian Posta <ch...@gmail.com>.
try putting the spring namespace in your bean element:
<plugins>
<bean xmlns="http://www.springframework.org/schema/beans"
id="OpenPMF"
class="com.objectsecurity.openpmf.activemq.PMFPlugin"/>
</plugins>
On Tue, Aug 20, 2013 at 5:14 AM, Karel Gardas <ka...@centrum.cz>wrote:
>
> In 5.7.0 XML schema I don't see plugins element defined so I'm still
> curious how the interceptors.html page may be correct. Anyway, my xml
> config file is attached.
>
> Thanks!
> Karel
>
>
> On 08/20/13 01:50 PM, Gary Tully wrote:
>
>> post the xml config you are using and the parse exception. that doco
>> is fine... pay attention to the detail in the error and the xml schema
>> - http://activemq.apache.org/**xml-reference.html<http://activemq.apache.org/xml-reference.html>
>>
>> On 20 August 2013 10:58, Karel Gardas<karel.gardas@centrum.cz**> wrote:
>>
>>>
>>> Hello,
>>>
>>> I'm trying to configure our specific authorization interceptor into
>>> ActiveMQ
>>> 5.7.0 and while following http://activemq.apache.org/**interceptors.html<http://activemq.apache.org/interceptors.html>page
>>> I'm neither able to define plugin as an xbean and then reference it in
>>> the
>>> broker tag/element nor define it in plugins element inside the broker. I
>>> always get SAXParseException complaining that such format is not
>>> supported.
>>> So neither of two offered ways work for me.
>>>
>>> My question is: is http://activemq.apache.org/**interceptors.html<http://activemq.apache.org/interceptors.html>already
>>> out-dated and if so, what shall I do in order to integrate our
>>> interceptor
>>> with 5.7.0 release?
>>>
>>> Thanks!
>>> Karel
>>>
>>
>>
>>
>>
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta
Re: AMQ 5.7.0 and interceptors configuration.
Posted by Karel Gardas <ka...@centrum.cz>.
In 5.7.0 XML schema I don't see plugins element defined so I'm still
curious how the interceptors.html page may be correct. Anyway, my xml
config file is attached.
Thanks!
Karel
On 08/20/13 01:50 PM, Gary Tully wrote:
> post the xml config you are using and the parse exception. that doco
> is fine... pay attention to the detail in the error and the xml schema
> - http://activemq.apache.org/xml-reference.html
>
> On 20 August 2013 10:58, Karel Gardas<ka...@centrum.cz> wrote:
>>
>> Hello,
>>
>> I'm trying to configure our specific authorization interceptor into ActiveMQ
>> 5.7.0 and while following http://activemq.apache.org/interceptors.html page
>> I'm neither able to define plugin as an xbean and then reference it in the
>> broker tag/element nor define it in plugins element inside the broker. I
>> always get SAXParseException complaining that such format is not supported.
>> So neither of two offered ways work for me.
>>
>> My question is: is http://activemq.apache.org/interceptors.html already
>> out-dated and if so, what shall I do in order to integrate our interceptor
>> with 5.7.0 release?
>>
>> Thanks!
>> Karel
>
>
>
Re: AMQ 5.7.0 and interceptors configuration.
Posted by Gary Tully <ga...@gmail.com>.
post the xml config you are using and the parse exception. that doco
is fine... pay attention to the detail in the error and the xml schema
- http://activemq.apache.org/xml-reference.html
On 20 August 2013 10:58, Karel Gardas <ka...@centrum.cz> wrote:
>
> Hello,
>
> I'm trying to configure our specific authorization interceptor into ActiveMQ
> 5.7.0 and while following http://activemq.apache.org/interceptors.html page
> I'm neither able to define plugin as an xbean and then reference it in the
> broker tag/element nor define it in plugins element inside the broker. I
> always get SAXParseException complaining that such format is not supported.
> So neither of two offered ways work for me.
>
> My question is: is http://activemq.apache.org/interceptors.html already
> out-dated and if so, what shall I do in order to integrate our interceptor
> with 5.7.0 release?
>
> Thanks!
> Karel
--
http://redhat.com
http://blog.garytully.com