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 Dejan Bosanac
Sure, you can do something like this SimpleAuthenticationPlugin authentication = new SimpleAuthenticationPlugin(); List AuthenticationUser users = new ArrayList AuthenticationUser = users.add(new AuthenticationUser(admin, password,

Re: Adding authentication plugin by program

2009-01-20 Thread Henri Gomez
Great. I only add to use our current AuthenticationPlugin. Many thanks Dejan, 2009/1/20 Dejan Bosanac de...@nighttale.net: Sure, you can do something like this SimpleAuthenticationPlugin authentication = new SimpleAuthenticationPlugin(); List AuthenticationUser users = new ArrayList

Re: AMQ5.2 : How to move messages in DLQ

2009-01-20 Thread Gary Tully
have a look at some of the the DeadLetter tests, eg: http://activemq.apache.org/maven/5.2.0/activemq-core/testapidocs/src-html/org/apache/activemq/broker/policy/DeadLetterTest.html#line.38 also see: http://activemq.apache.org/message-redelivery-and-dlq-handling.html to understand when the DLQ is

InvalidClientIDException, clientId already connected

2009-01-20 Thread Rama Casturi
I am getting a InvalidClientIdException during the startup of my application occasionally and also during runtime. It happens very rarely, but still happens to be an issue. Both these mention, it has been fixed but I am still seeing it. I have deployed 4.1.2 version. My application is a spring

Re: JBossTS 4.2.3_SP7 ActiveMQ 4.1.2 XAER_PROTO Error

2009-01-20 Thread greenbean
I am using the ActiveMQ with Jencks to carry out asynchronous message consumption. It looks like activemq does a start when the message is delivered to the message consumer. Then internally I attempt to send a JMS message to another queue. The second start is triggered and ActiveMQ throws the

Re: Multicast Discovery not working

2009-01-20 Thread BigPic
I opened JIRA issue http://issues.apache.org/activemq/browse/AMQ-2080 AMQ-2080 per your request for #3. I did NOT open one for #2 because it's not clear to me how that should work. I mean, it's not clear to me what's going on, because there is a significant delay between the time the

AMQ-5.1.0 with security enabled: Use of environment variables in login.conf

2009-01-20 Thread angrywooper
Hi, Im configuring jaasAuthenticationPlugin, but I have problem using an environment variable pointing to a dir outside the activemq installation where I've put users and groups.properties files. I've followed the guide http://activemq.apache.org/security.html here. The only modification I've

Re: JBossTS 4.2.3_SP7 ActiveMQ 4.1.2 XAER_PROTO Error

2009-01-20 Thread greenbean
I have found that it works in one component when I first restart the JVM with ActiveMQ. I see the ServerSessionPoolImpl says it Created a new session to do the work. Then if I run again, it says it is Using idle session to do the work. The second time it fails. Could this be contributing to

Can I integrate ActiveMQ and MINA?

2009-01-20 Thread sharpor
I want to setup a Tcp server and Tcp client using MINA in my application while I want to get the reliability of ActiveMQ. Can I integrate them and how? Thank you, my friends! :) -- View this message in context: http://www.nabble.com/Can-I-integrate-ActiveMQ-and-MINA--tp21576585p21576585.html

Re: Can I integrate ActiveMQ and MINA?

2009-01-20 Thread Bruce Snyder
On Tue, Jan 20, 2009 at 8:36 PM, sharpor wizardisha...@gmail.com wrote: I want to setup a Tcp server and Tcp client using MINA in my application while I want to get the reliability of ActiveMQ. Can I integrate them and how? Thank you, my friends! :) All of the work of integrating the two has

problem while sending concurrent messages to ActiveMQ Jms Queue

2009-01-20 Thread manish_goyal
Hi, I am getting error while sending concurrent messages to ActiveMQ JMS queue. My service is sending multiple message to ActiveMQ JMS queue concurrently.When i m sending more then 3 times concurrently then only i am getting this error. If i send message for only two times or less then, it is