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.
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.