Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2020-05-27 Thread Atri Sharma
I am not an expert, but if this issue seems something that can be tackled with guidance, I can take a look? On Wed, 27 May 2020 at 17:42, Tim Bain wrote: > No, I haven't yet found the block of time needed to reproduce the problem > and identify the root cause. Sorry, I know it's frustrating to a

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2020-05-27 Thread Tim Bain
No, I haven't yet found the block of time needed to reproduce the problem and identify the root cause. Sorry, I know it's frustrating to ask for help and not get it, but I do this as a volunteer in my personal time, and just haven't found a large enough block of time when there wasn't something els

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2020-05-26 Thread Ashish Vaishno
Hello Tim, Did you manage to have a look on the issue? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2020-04-01 Thread Ashish Vaishno
Hello Tim, I have updated https://issues.apache.org/jira/browse/AMQ-7350, so that you can reproduce the issue Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-12-17 Thread Ashish Vaishno
Hello Tim, Did you see my comments? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-12-06 Thread Ashish Vaishno
Hello Tim, What I meant wrt to 7/8 broker is as follows: 1. I have one frontend broker which only have topics. These topics are then subscribed by the backend broker 2. Each backend broker can have many routes, which means that a single backend broker(with n number of queues) can subscribe to a

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-12-02 Thread Tim Bain
What does "7/8 backend brokers with a lot of routes" mean? My description of your setup specified either a broker or a master-slave pair of brokers for the backend, and you agreed that my description was correct. How did we get from there to "7/8" backend brokers? Also, can you re-confirm that the

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-29 Thread Ashish Vaishno
Hello Tim/JB, Also one more information. I tried to reproduce the issue with 1 frontend (with 1 topic) and 1 backend (with 1 camel route) and I was not able to reproduce it. I saw the issue after 7/8 backend brokers with a lot of routes. Regards Ashish -- Sent from: http://activemq.2283324

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-29 Thread Ashish Vaishno
Hello Tim, Your assumption is correct. And yes,*" reconnection logic the subscription name is being constructed incorrectly "* And yes : All my camel routes associated to a single broker run in a single jvm. Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Use

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-26 Thread Jean-Baptiste Onofré
Hi Tim, The subscription is firstly client provided (and fallback to client id if not specified). Regards JB On 27/11/2019 07:59, Tim Bain wrote: > OK, so I want to make sure I understand this correctly. > > You have two brokers (or is that two failover pairs?): frontend-standard-01 > and backe

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-26 Thread Tim Bain
OK, so I want to make sure I understand this correctly. You have two brokers (or is that two failover pairs?): frontend-standard-01 and backend-broker-name-1. The brokers are not configured in a network of brokers, though you're using your Camel routes to move messages between them. You have some

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-25 Thread Jean-Baptiste Onofré
Hi, honestly, I don't understand the problem, and I'm not able to reproduce with simple Camel routes (running in Karaf). Regards JB On 25/11/2019 14:05, Ashish Vaishno wrote: > Hello JB, > > I have not set offlineDurableSubscriberTaskSchedule or > offlineDurableSubscriberTimeout explicitly in

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-25 Thread Ashish Vaishno
Hello JB, I have not set offlineDurableSubscriberTaskSchedule or offlineDurableSubscriberTimeout explicitly in my activemq.xml file. Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-25 Thread Jean-Baptiste Onofré
Hi What kind of component is frontend-standard ? Is it a extend you did ? Regards JB On 25/11/2019 09:57, Ashish Vaishno wrote: > Hello Tim, > > Sorry for the confusion. In my setup there are a lot of brokers which have a > similar config. WRT to hello/world example that i refered, the config

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-25 Thread Jean-Baptiste Onofré
By the way, in activemq.xml, in the broker settings, do you have offlineDurableSubscriberTimeout and offlineDurableSubscriberTaskSchedule defined or do you use the default ? Regards JB On 25/11/2019 09:57, Ashish Vaishno wrote: > Hello Tim, > > Sorry for the confusion. In my setup there are a l

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-25 Thread Ashish Vaishno
Hello Tim, Sorry for the confusion. In my setup there are a lot of brokers which have a similar config. WRT to hello/world example that i refered, the config would look like broker-1 : broker-2: broker-3: ... Regards Ashish -- Sen

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-24 Thread Tim Bain
That file doesn't use "Hello" or "World" anywhere in it, and appears to have only a single route within it. Can you help me to understand how it lines up with the question you originally asked, where you have two separate durable subscriptions, for Hello and World, where one is working and the othe

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-21 Thread Ashish Vaishno
Hello Tim, In reference to https://activemq.apache.org/sample-camel-routes Please find attached the config camel.xml my brokers are running in different jvm. i have a master slave setup in the backend, so at one time only one if

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-21 Thread Tim Bain
Also, to be clear, I don't believe that KahaDB has anything to do with this problem. The issue appears to be that the client ID assigned to the subscription on reconnection doesn't match the previous connection's value, which is independent of the persistence store type. Tim On Thu, Nov 21, 2019,

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-21 Thread Tim Bain
Could you please share that configuration? I didn't understand from your earlier message that you were creating your subscriptions using Camel, which adds another technology, and another potential source of bugs, into the mix. Are both of your consumers staying up while the broker is restarted? A

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-21 Thread Ashish Vaishno
Hello Tim, I am setting the clientid in the file integration.camel.routes.xml, so that on each restart my durable susbcriber is always recognized and unique. Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Tim Bain
Ashish, are you setting the clientID setting on your clients, as documented at the bottom of https://activemq.apache.org/how-do-durable-queues-and-topics-work.html? If not, then on reconnection it may be that the new connection is getting a different client ID, resulting in a different subscriber n

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Ashish Vaishno
Hello Tim, Please find below the config Config with kahadb http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Tim Bain
If the problem is still occurring with regular KahaDB, then KahaDB probably isn't the problem. Can you share your full broker configuration, rather than just snippets? Tim On Wed, Nov 20, 2019, 8:16 AM Jean-Baptiste Onofré wrote: > Basically the same as you: > > ind

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Jean-Baptiste Onofré
Basically the same as you: Let me try with AMQP client. I just commented the Jira. Regards JB On 20/11/2019 15:49, Ashish Vaishno wrote: > Hello Tim, > > I have tried to change mkahadb to standard kahadb as well in my dev > environment. I still face the same issue. > > >

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Ashish Vaishno
I also created a ticket https://issues.apache.org/jira/browse/AMQ-7350 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Ashish Vaishno
Hello Tim, I have tried to change mkahadb to standard kahadb as well in my dev environment. I still face the same issue. I will create a JIRA bug for the same. @JB would it be possible to share your config? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-20 Thread Tim Bain
Ashish, If you convert from mKahaDB to the standard KahaDB configuration (in a dev/test environment), does the problem disappear? If so, please write a bug in JIRA for the problem. (this mailing list thread is not sufficient to get a fix implemented). If not, we'll have to keep trying to isolate

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-19 Thread Ashish Vaishno
Hello JB, Do i need to create a Jira issue for the same or the issue created here is more than enough? Once you have a working config where you dont face the issue, please let me know Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-19 Thread Jean-Baptiste Onofré
Hi nothing special, a regular kahadb instance (with some tuning but nothing major). Regards JB On 19/11/2019 12:47, Ashish Vaishno wrote: > Hello JB, > > Can you send me the config that you are using for persistence ? Have you > enabled any parameters ? > > Regards > Ashish > > > > -- > Se

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-19 Thread Ashish Vaishno
Hello JB, Can you send me the config that you are using for persistence ? Have you enabled any parameters ? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-18 Thread Jean-Baptiste Onofré
Hi, I guess it works using KahaDB (without filtered) ? Regards JB On 18/11/2019 16:08, Ashish Vaishno wrote: > Hello JB, > > Just a info, i am creating topics from config as well. > > Today, I tried the below > Replaced > > by > > . > > > in my mkahadb config. I will still

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-18 Thread Ashish Vaishno
Hello JB, Just a info, i am creating topics from config as well. Today, I tried the below Replaced by . in my mkahadb config. I will still not able to solve the issue Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-15 Thread Jean-Baptiste Onofré
Not yet (I was busy with on other Apache projects). I'm working on ActiveMQ during the week end, I will try to reproduce. I keep you posted. Regards JB On 15/11/2019 11:34, Ashish Vaishno wrote: > Hello JB, > > Were you able to reproduce the issue? > > Regards > Ashish > > > > -- > Sent fr

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-15 Thread Ashish Vaishno
Hello JB, Were you able to reproduce the issue? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-13 Thread Jean-Baptiste Onofré
Thanks for the update, let me try the restart (normal use case works fine in my tests). Regards JB On 13/11/2019 09:47, Ashish Vaishno wrote: > Hello Jean, > > I also noticed that even a simple restart of the broker, causes an > inconsistent stage of offline durable subscriber. > > Did you ma

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-13 Thread Ashish Vaishno
Hello Jean, I also noticed that even a simple restart of the broker, causes an inconsistent stage of offline durable subscriber. Did you managed to find anything? Regards Ashish -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-08 Thread Jean-Baptiste Onofré
Hi Ashish, I didn't notice such behavior but I don't use lot of durable subscripters. Let me try to reproduce on a simple test case. Regards JB On 08/11/2019 14:47, Ashish Vaishno wrote: > Hello, > > We are using activemq version : 5.15.8 > > We are creating topics via config and also persis

offline Durable Topic Subscribers issue in activemq 5.15.8

2019-11-08 Thread Ashish Vaishno
Hello, We are using activemq version : 5.15.8 We are creating topics via config and also persisting the data via config : While doing so, we have noticed the below 1. Creation of topics vi