Hi I am using ActiveMQ 5.2.0 with NMS ver 1.1. I am trying to create a non
durable consumer as below:
=============
this.consumer = this.session.CreateConsumer(topic);
=============
Whenever a message is published on that topic, and if I have no subscription
to this topic. Message is persisted. And whenever i subscribe to that topic
i get all the messages published before my subscription. Further to this I
have also set the persistent property of my producer as well as
NMSPersistent property on my producer and my message as false.
====================
this.producer.Persistent = false;
textMessage.NMSPersistent = false;
====================
But even then it is creating a durable consumer. Can anyone suggest me
wether I am missing any thing?
-- 
View this message in context: 
http://www.nabble.com/unable-to-create-non-durable-consumer-tp21409108p21409108.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to