resend :how to config the max number of message that activemq keeped

2016-02-02 Thread wuwufen
hey friend i tyed the "" but it seems dosn't work. 1 durable subscribe cliend offline 2 send more than 100 messages to the topic 3 durable subscribe cliend online 4 the client still receive all the 100 messages i send.i just want to receive the latest 10 messages. did i do something wr

Re: how to set the number of message that topic keeped

2016-01-31 Thread wuwufen
thank you again -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-set-the-number-of-message-that-topic-keeped-tp4706628p4706706.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

how to set the number of message that topic keeped

2016-01-28 Thread wuwufen
i use durable subscription for a topic,i want to know how to set the max number of the message that topic can keep when my cliend offline thank you inadvance -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-set-the-number-of-message-that-topic-keeped-tp4706628.ht

回复: a problem about mqtt and activemq

2015-11-12 Thread wuwufen
both or only one? Does each subscription run through the same exact code? Tim On Nov 11, 2015 5:54 PM, "wuwufen" <[hidden email]> wrote: > 3 mqttClent (c1,c2,c3,c4,c5);mqttclent setClindId,cleansession=false; > activemq 5.12.0 (or befor) > test topic(T) >

Re: a problem about mqtt and activemq

2015-11-11 Thread wuwufen
3 mqttClent (c1,c2,c3,c4,c5);mqttclent setClindId,cleansession=false; activemq 5.12.0 (or befor) test topic(T) 1 c1,c2,c3 subscribe T 2 c5 send message m1 to T 3 c1,c2,c3 received m1 ...sometimes (problem occurs) 4c1 unsubscribe T 5c5 send message m2 to T (b c receive

a problem about mqtt and activemq

2015-11-10 Thread wuwufen
hi everyone i subscribe and unsubscribe topic in activemq by mqttconnection(durable)many times。a problem occur。 when i subscribe the topic i received the message that created before i subscribed。 (sorry,i‘m not good at english) thank you inadvance -- View this message in context: http://ac

Re: use mqtt receive message from activemq abnormality

2015-10-15 Thread wuwufen
yes,im using durable subscriptions; and set 3 different clientID,and operation is ok,by look the activemq info in local-web。 now i think is the problem about ack。and use a thread to deal with the message i received from mqtt-connection,then ack will quickly execute thank for your reply -- View

Re: use mqtt receive message from activemq abnormality

2015-10-14 Thread wuwufen
oh thanks -- View this message in context: http://activemq.2283324.n4.nabble.com/use-mqtt-receive-message-from-activemq-abnormality-tp4702931p4702932.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

use mqtt receive message from activemq abnormality

2015-10-14 Thread wuwufen
when i use 3 or more mqtt client subscribe a topic in activemq,1 client is unsubscribe the topic,1 is good running,1 is off-line.then i send message to the topic,problem comes. when i unsubscribe the topic then subscribe ,i whill receive the old message .i use a new mqtt client subscibe the topic,