Re: advisory messages username logging

2015-06-17 Thread ALi
{in.body} > > > > \r\n > > > > > > > > > > > > > > > > > > > > > > > > uri="file://c:/folder/?fileExist=Append&fileName=advisoryConnection-${date:now:MMdd}.txt" > > > > > /> > > > > > > >

Re: Artemis: JMSXGroupID / Message groups: Large number of groups

2015-06-17 Thread fmansoor
Great question, would love to hear the best way to solve this problem. I ran into the same problem recently while using "classic" ActiveMQ, in my particular use case it was hard to predict the number of concurrent active groups, therefore, I ended up switching to simpleMessageGroupMapFactory and

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Claus Ibsen
Hi If you want to remote debug a JVM then you can in Eclipse setup a little maven project and add AMQ 5.5.1 as dependency. And then Eclipse has a "button" to download sources. And you should be able to remote debug with the source code. You would not need to build the JARs again from source or to

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim, Here is an example of the dispatched queue, enqueue, dequeue count. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-5-11-1-MQTT-Message-is-automatically-sent-to-subscriber-when-it-

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim, Only one subscription for that topic. enqueue count and dequeue count and dispatched count they are almost equal. And they are all increased each time the subscriber is connected. Thank you! Tim Bain wrote > How many subscriptions do you see for that topic via JConsole? If you see

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks William-2. 1. Yes, AMQ does not support that. So I tried to create a pre-defined a Durable Topic Subscriber from Webconsole to receive all the message. These message is in pending in state. When my actual Subscriber is connected, all the above pending message are delivered to my Subscribe

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread William
for my personal view, 1, if you want to impl some requirement like ‘offline message’ for those never online user AMQ doesn’t support that. The consumer must connect broker at least once as durable subscriber, then he can receive offline msg afterwards even after he offline and then onl

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
That is an error that was fixed in later versions of ActiveMQ. ActiveMQ 5.8.0 should work because the interface methods in MapContainer have been changed to fix that error. It has to do with the compiler checking type erasure and it seems that maybe the newer compilers are stricter about that. I

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread bbuzzard
Thanks, your instructions were very helpful. I've use Eclipse for over 15 years and I've use Maven, off and on, for at least 10 years, but never together. This whole process was far more painful than I expected. I managed to clear all of the errors except the following and I'm not sure how to

Re: unable to reconnect after exception "Channel was inactive for too long"

2015-06-17 Thread jeffrey
Tim, I'm not sure if the Java application ever gets the exception, but if it is, then it's reconnecting quickly. I don't think my application can really control which port it is getting moved to, that would be decided after I connect to the server on 61616 and we negotiate to a new port. Are the

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
So there's a few things you'll probably need to do to make it work in Eclipse. First, build the project on the command line using Maven (this important for step 3 so generated code is available) Second, after importing as a Maven project into Eclipse, to fix issues with maven in eclipse go to Mav

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread bbuzzard
I have ActiveMQ-5.5.1 on a production machine and I would like to remotely troubleshoot a specific camel route on it. I have tried to Build ActiveMQ-5.8.0, but I seem to be running into similar problems. I am using Eclipse Luna 4.4.2. Internally Luna is using the EMBEDDED Maven 3.2.1/1.5.2.20150

Re: Errors trying to build ActiveMQ-5.5.1 from source

2015-06-17 Thread Christopher Shannon
I'm not entirely sure why it's giving that error, but it could be related to your version of maven. Just out of curiosity, why are you trying to build a version that is so old? Would it be possible to upgrade to a more modern version of ActiveMQ? On Tue, Jun 16, 2015 at 2:02 PM, bbuzzard wrote:

Re: Couchbase data store support for active mq

2015-06-17 Thread jasonhoi
Thanks! I will definitely play with the new JDBC connector for Couchbase with ActiveMQ. -- View this message in context: http://activemq.2283324.n4.nabble.com/Couchbase-data-store-support-for-active-mq-tp4697830p4697903.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread Tim Bain
How many subscriptions do you see for that topic via JConsole? If you see more than one, that's your problem and you need to figure out why. If you see only one subscription, what happens to the enqueue count and dequeue count and dispatched count when you reconnect the consumer? I'd expect them

Re: advisory messages username logging

2015-06-17 Thread Christopher Shannon
now:MMdd-hh-mm-ss} ${in.body} > > > \r\n > > > > > > > > > > > > > > > > > uri="file://c:/folder/?fileExist=Append&fileName=advisoryConnection-${date:now:MMdd}.txt" > > > > /> > >

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thank you! I also create the same subscription name for each topic. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-5-11-1-MQTT-Message-is-automatically-sent-to-subscriber-when-it-is-connected-tp4697874p4697891.html Sent from the ActiveMQ - User mailing list ar

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi Tim Bain, Thanks you! Yes, that's right. This is my exact trouble. Tim Bain wrote > I'm not understanding this line from your first email: "The broker is > always sent the messages which already sent to the subscriber before to > the > subscriber when it is connected." Does that mean your co

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread Tim Bain
I mis-spoke: it's client ID, not consumer ID, and you also have to set the subscription name. Read the bottom of http://activemq.apache.org/how-do-durable-queues-and-topics-work.html and make sure you've done what it says. (I don't use MQTT so I'm not sure how to do that, but I presume it can be

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread Tim Bain
I'm not understanding this line from your first email: "The broker is always sent the messages which already sent to the subscriber before to the subscriber when it is connected." Does that mean your consumer is consuming (and acknowledging) messages, disconnecting, reconnecting, and receiving the

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks OSATIEN for your considerate time. I follow the link you posted and see that their MQTT client also publish message to topic, not queue. -- View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-5-11-1-MQTT-Message-is-automatically-sent-to-subscriber-when-it-i

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread ALi
i am not too sure what do you need to do ... and i dont know how do you connect to mqtt but as i have seen here http://stackoverflow.com/questions/27189086/activemq-lost-persistent-message-sent-to-detached-consumer-before-keepaliveinter you need to set QoS by message, can you try? On Wed,

Re: advisory messages username logging

2015-06-17 Thread ALi
; > /> > > > > > > > > > > > > > > > > > > \r\n${date:now:MMdd-hh-mm-ss} ${in.body} > \r\n > > > > > > > > > > > uri="file://c:/folder/?fileExist=Append&fileName=advisoryConne

Re: advisory messages username logging

2015-06-17 Thread Christopher Shannon
r\n${date:now:MMdd-hh-mm-ss} ${in.body} \r\n > > > > > > uri="file://c:/folder/?fileExist=Append&fileName=advisoryConnection-${date:now:MMdd}.txt" > > /> > > > > > > > > > > > > 20150617-08-31-04 > > > > 20150617-

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks OSATIEN, What do you mean passed message? The message is already sent to subscriber? I have only one Subscriber for some topics. My main purpose is to receive all the message which is published to topics even the subscriber is not connected before that. Can you tell me how MQTT client ca

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread ALi
why topic? why not use a queue if you dont want to receive all passed messages? many subscriber to one queue? http://activemq.apache.org/how-do-durable-queues-and-topics-work.html On Wed, Jun 17, 2015 at 12:17 PM, SummerScent wrote: > Thanks William -2, > > And the most headache problem now is

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Thanks William -2, And the most headache problem now is that the ActiveMQ 5.10,11 always send the message (which are sent to subscriber before) again to the subscriber when subscriber is connected. ActiveMQ 5.10 and 5.11 has same problem. -- View this message in context: http://activemq.2

Re: Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread William
As I know, AMQ does not support this. > On Jun 17, 2015, at 5:14 PM, SummerScent wrote: > > Hi all, > > I am so new to ActiveMQ. > > I am using ActiveMQ MQTT for my project. > > My subscriber need to receive all offline messages even they are connected > at the first time after ActiveMQ is st

Active MQ 5.11.1 MQTT Message is automatically sent to subscriber when it is connected

2015-06-17 Thread SummerScent
Hi all, I am so new to ActiveMQ. I am using ActiveMQ MQTT for my project. My subscriber need to receive all offline messages even they are connected at the first time after ActiveMQ is started. I tried to created an durable topic subscriber from web console. So all offline message will be deliv