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 <karel.gar...@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.gar...@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