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 the security-domain and how to create it, https://community.jboss.org/wiki/EncryptingDataSourcePasswords As I said I haven't tried it so it may not work at all but its what I'd try first. On Wed, May 28, 2014 at 6:21 AM, Christian Posta <christian.po...@gmail.com>wrote: > 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 <angesh...@gmail.com> wrote: > > > 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.nabble.com/How-to-encrypt-password-in-broker-config-xml-and-ra-xml-tp4681449p4681457.html > > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > > > > > -- > *Christian Posta* > http://www.christianposta.com/blog > twitter: @christianposta >