Re: How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread Noel OConnor
I haven't tried this but maybe you can encrypt the password in the datasource definition file that loads the ActiveMQ RAR. In the Configuring JBoss section of http://activemq.apache.org/integrating-apache-activemq-with-jboss.html try adding a security-domain element. The following link describes

Re: How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread Christian Posta
The relevant parts from activemq-security.xml (which you can find if you d/l a stand-alone version of activemq) would go in your broker-config.xml On Tue, May 27, 2014 at 9:32 AM, deepak_a wrote: > Hi, > > Thanks for the link. > I am using ActiveMQ+Jboss (Active MQ integrated with Jboss 5.1.0)

Re: ActiveMQ 5.9, not shutting down cleanly

2014-05-27 Thread pminearo
Looks like I spoke too soon. Back to the original question. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-9-not-shutting-down-cleanly-tp4681371p4681459.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread deepak_a
Hi, Thanks for the link. I am using ActiveMQ+Jboss (Active MQ integrated with Jboss 5.1.0) I don't even find activemq-security.xml. Am I missing something or should I store the algorithm & password in a different file? regards D -- View this message in context: http://activemq.2283324.n4.nab

Re: ActiveMQ 5.9, not shutting down cleanly

2014-05-27 Thread pminearo
I have been doing some more digging around, and noticed this: Assuming creates a org.apache.activemq.network.jms.JmsQueueConnector, which is a child class of org.apache.activemq.network.jms.SimpleJmsQueueConnector, which is a child class of org.apache.activemq.network.jms.JmsConnector, which imple

Re: ActiveMQ Plugin: Modify consumer subscription

2014-05-27 Thread Christian Posta
Check the composite destinations here: http://activemq.apache.org/virtual-destinations.html Could also implement this with the camel-broker plugin: http://activemq.apache.org/broker-camel-component.html On Mon, May 26, 2014 at 1:50 PM, me. wrote: > Hello, > > I would like to know whether it i

Re: Closing a Tcp Transport Connector

2014-05-27 Thread Christian Posta
Can you post a test to reproduce? On Fri, May 23, 2014 at 6:37 AM, Musu wrote: > Hi all, > > It's been couple of days that I've been trying to figure it out what's > going > wrong with my application. > > I have a consumer client that uses an embedded broker that is using a tcp > transport conn

Re: ActiveMQ message dequeuing hangs

2014-05-27 Thread Christian Posta
Take thread dumps while you attach consumers to see what's going on. Any way to recreate it? On Fri, May 23, 2014 at 9:07 AM, skate056 wrote: > Hello all, > > We have about 145517 messages on the queue but after dequeueing about 1510 > messages the dequeueing stops. ActiveMQ is using about 28%

Re: Dynamic discovery for client libraries

2014-05-27 Thread Christian Posta
Then you have to manage the discovery parts yourself. You can look here: http://activemq.apache.org/discovery.html There is also an http discovery mechanism. Fabric8 handles this for you. On Mon, May 26, 2014 at 1:31 AM, master.zakharov wrote: > Noel, thanks for the info about fabric8, will c

Re: Apache.NMS.ActiveMQ publish behaviour

2014-05-27 Thread Christian Posta
Set alwaysSyncSend == true On Tue, May 27, 2014 at 8:14 AM, phatcher wrote: > Can anyone comment on the behaviour I'm seeing... > > If you have a publisher, non-transactional and publish to a topic that you > don't have permission on, a security exception is raised and it fails as > expected

Re: How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread Christian Posta
Take a look here: http://activemq.apache.org/encrypted-passwords.html On Tue, May 27, 2014 at 8:53 AM, deepak_a wrote: > Hi,I am using simpleAuthenticationPlugin in my broker-config.xml as shown > I also set password in ra.xml as shown belowThe default > password that will b

How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread deepak_a
Hi, I am using simpleAuthenticationPlugin in my broker-config.xml as shown I also set password in ra.xml as shown below The default password that will be used to log the default user into the ActiveMQ server. Password

How to encrypt password in broker-config.xml and ra.xml

2014-05-27 Thread deepak_a
Hi,I am using simpleAuthenticationPlugin in my broker-config.xml as shown I also set password in ra.xml as shown belowThe default password that will be used to log the default user into the ActiveMQ server. Password

Apache.NMS.ActiveMQ publish behaviour

2014-05-27 Thread phatcher
Can anyone comment on the behaviour I'm seeing... If you have a publisher, non-transactional and publish to a topic that you don't have permission on, a security exception is raised and it fails as expected. However, if you do the same inside a transaction, the publish says that it has worked, b

Clustered Activemq LevelDB (zookeeper) + apache camel causes activemq to hang

2014-05-27 Thread imdhmd
*Problem:* I have a clustered activemq failover setup, via zookeeper and leveldb (configurations are below). My java application (lets call it pipeline) talks to this cluster via apache camel. Pipeline has both producer and consumer endpoints. (About 10 different queue destinations). In a non-clus

Re: Clustered Activemq replicated LevelDB via zookeeper + apache camel causes activemq to hang

2014-05-27 Thread Jean-Baptiste Onofré
Hi, what's the test case to reproduce ? Just consume or produce message from a client ? Regards JB On 05/27/2014 07:31 AM, imdhmd wrote: *Problem:* I have a clustered activemq failover setup, via zookeeper and leveldb (configurations are below). My java application (lets call it pipeline) ta