Fixed setting QoSPropertyName in Message object. Properties.SetInt("QoSPropertyName", 1);
2014-06-09 20:51 GMT-03:00 Daniel Oliveira Nascimento < daniel.nascime...@devexmining.com>: > I create a producer publishing messages in a topic using NMS, and I have > MQTT consumers for these messages. > > So i'm using activemq as a broker for these messages. I expect that > producing messages in a persistent topic, I will consume then in MQTT as > QoS 1 or 2, but it didn't happen. > My question is if has any way to do that (consume these messages with QoS > 1) producing then with NMS api. If not how should I do that? > > Thanks, > Daniel > > > 2014-06-09 18:10 GMT-03:00 Timothy Bish <tabish...@gmail.com>: > > On 06/09/2014 04:43 PM, Daniel Oliveira Nascimento wrote: >> >>> Hi all, >>> >>> I'm trying to publish MQTT QoS 1 messages using NMS, but I can't figure >>> out >>> how to do it. >>> >>> I tried set ackwnoledgmentMode to dupsok and client mode. Also >>> deliveryMode >>> to persistent. But ActiveMQ still deliver the MQTT messages with qos 0 to >>> my subcribed clients. >>> >>> Any idea about what i'm doing wrong? >>> >>> Thanks, >>> Daniel >>> >>> The NMS libraries don't include an MQTT implementation so I'm not sure >> what you are doing. >> >> -- >> Tim Bish >> Sr Software Engineer | RedHat Inc. >> tim.b...@redhat.com | www.fusesource.com | www.redhat.com >> skype: tabish121 | twitter: @tabish121 >> blog: http://timbish.blogspot.com/ >> >> >