Adding authentication plugin by program

2009-01-20 Thread Henri Gomez
Hi to all, I read the security plugin information in http://activemq.apache.org/security.html. I wonder if we could add an authentication/authorisation plugin programaticaly, ie on BrokerService. Regards.

Re: Adding authentication plugin by program

2009-01-20 Thread Henri Gomez
)); authentication.setUsers(users); broker.setPlugins(new BrokerPlugin[]{authentication}); Cheers -- Dejan Bosanac Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Tue, Jan 20, 2009 at 3:15 PM, Henri Gomez

embedded broker in Tomcat 6 available to both local vm and external clients

2009-01-19 Thread Henri Gomez
Hi to all, I read carefully the docs about declaring an ActiveMQ in Tomcat : http://activemq.apache.org/tomcat.html I need to get ActiveMQ embedded in a webapp and for both in VM clients but also external clients and want to get the setup in context.xml : I tried to add in context.xml :

Re: embedded broker in Tomcat 6 available to both local vm and external clients

2009-01-19 Thread Henri Gomez
Under debug I could see in the ConnectionFactory : brokerUrl = vm://localhost?broker.persistent=false,tcp://localhost:61616 I wonder why the TCP port is not opened ;( 2009/1/19 Henri Gomez henri.go...@gmail.com: Hi to all, I read carefully the docs about declaring an ActiveMQ in Tomcat

activemq and OSGI

2009-01-19 Thread Henri Gomez
Hi to all, I'm working on an Eclipse RCP application and it need to work with an ActiveMQ server. I wonder if there is activemq bundles allready available or if I should include amq jars in one of the application plugin. It will be very simple, JMS Topic, using the basic url for broker