By default the broker does not authenticate connections from JMS clients. If you require this, then you need to enable authentication in the broker. See http://activemq.apache.org/security.html
Torsten Mielke tors...@fusesource.com tmie...@blogspot.com On Sep 14, 2011, at 6:06 AM, Venkatesh Laguduva wrote: > Hi, > I have a created a ActiveMQConnectionFactory with the following properties: > brokerUrl=tcp://localhost:xxxxx username='testx' password='testy' > > When I tried to connect the connections created using the above ActiveMQ > connection factory from HermesJMS, they connect without the username and > password. > > Is this a bug? if not, how to fail it when the username and password were > not given? > > Thanks & Regards > Venkatesh Laguduva