You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by ivan <iv...@dhousestudio.com> on 2008/07/04 10:08:05 UTC

JMS in SM

   Hi!

How can I simplest to set user/password on activeMQ connections?

Can I use user/password info in URL to broker something like 
tcp://user:password@localhost:61216 ?

   Thanks,
   Ivan Pryvalov.

Re: JMS in SM

Posted by Bruce Snyder <br...@gmail.com>.
On Fri, Jul 4, 2008 at 2:08 AM, ivan <iv...@dhousestudio.com> wrote:
>  Hi!
>
> How can I simplest to set user/password on activeMQ connections?
>
> Can I use user/password info in URL to broker something like
> tcp://user:password@localhost:61216 ?

You need to configure either JAAS or simple authentication in the
conf/activemq.xml file. See the following for more information:

http://activemq.apache.org/security.html

There's also a user-contriubuted example available here:

http://activemq.apache.org/user-submitted-configurations.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/