On 9/11/06, wallace <[EMAIL PROTECTED]> wrote:
I am using activemq 4.0 and running the examples. It seems no matter if I am
running the topic/queue, persist/non-persistent, durable/non-durable.
Username and password do not seem to matter.
The default out of the box install doesn't use a security plugin to
restrict access.
For an example see...
http://incubator.apache.org/activemq/security.html
James
I changed the createConnection() function to two separate functions for
producer and consumer
protected Connection createConnection-rpoducer() throws JMSException,
Exception {
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("producer-username", "producer-passwd", url);
..........
protected Connection createConnection-consumer() throws JMSException,
Exception {
ActiveMQConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("consumer-username", "consumer-passwd", url);
..........
Why does it seem like the example would run even if I use different username
and password for producer and consumer?
Thank you,
-Wallace Wong
--
View this message in context:
http://www.nabble.com/ActiveMQConnectionFactory-username-password-question-tf2250509.html#a6241697
Sent from the ActiveMQ - User forum at Nabble.com.
--
James
-------
http://radio.weblogs.com/0112098/