[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-08-18 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Priority: Blocker  (was: Major)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-08-18 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Component/s: Broker

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP, Broker
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-08-18 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Flags: Important

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP, Broker
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Blocker
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-06-22 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: setup.tar)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-06-22 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: setup.tar

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: image-2020-04-01-16-14-32-534.png)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: image-2020-04-01-16-27-26-201.png, 
> image-2020-04-01-16-30-27-209.png, offline_topic_durable_subscriber.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>  

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: image-2020-04-01-16-09-13-805.png)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: image-2020-04-01-16-14-32-534.png, 
> offline_topic_durable_subscriber.png, setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: screenshot-1.png)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: image-2020-04-01-16-14-32-534.png, 
> offline_topic_durable_subscriber.png, setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: setup.tar)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, screenshot-1.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: setup.tar

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, screenshot-1.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: setup.tar)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, screenshot-1.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: setup.tar

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, screenshot-1.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: screenshot-1.png

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, screenshot-1.png, 
> setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: setup.tar

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png, setup.tar
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: setup.tar

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2020-04-01 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Attachment: (was: setup.tar)

> Inconsistency in Offline Durable Topic Subscribers
> --
>
> Key: AMQ-7350
> URL: https://issues.apache.org/jira/browse/AMQ-7350
> Project: ActiveMQ
>  Issue Type: Bug
>  Components: AMQP
>Affects Versions: 5.15.10
>Reporter: Ashish
>Assignee: Jean-Baptiste Onofré
>Priority: Major
> Attachments: offline_topic_durable_subscriber.png
>
>
> Hello All, 
>  * I have a issue with my activemq setup with *durable subscription*. 
>  * My setup includes a broker with topics and the backend that durably 
> subscribes to these topics.
>  * Random mapping of durable subscribers happens on each restart. In order to 
> fix it, I always have to wipe the persistence
>  * All the topics are created via activemq.xml
>  * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
> doing so, after the restart of my broker i get inconsistency in my offline 
> durable topic susbcribers.
> I am also attaching the config used by me. As well as an image to describe 
> the issue.
>  Config with kahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
> Config with mkahadb
> {code:java}
>  xmlns="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://www.springframework.org/schema/beans/spring-beans.xsd
>   http://activemq.apache.org/schema/core 
> http://activemq.apache.org/schema/core/activemq-core.xsd;>
>class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
> 
>   file:${activemq.conf}/credentials.properties
> 
>   
>   http://activemq.apache.org/schema/core; 
> brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
> schedulerSupport="false" persistent="true">
> 
> 
> 
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>memoryLimit="20mb">
> 
>useQueueForQueueMessages="true"/>
> 
>   
> 
>   
> 
> 
>   
> 
> 
> 
>   
> 
>   
> 
>checkForCorruptJournalFiles="true" checksumJournalFiles="true"/>
> 
>   
> 
>   
> 
> 
> 
>   
> 
>   
> 
> 
>   
> 
> 
>   
> 
>   
> 
> 
> 
>uri="tcp://0.0.0.0:61616?maximumConnections=1000wireformat.maxFrameSize=104857600"/>
>uri="stomp://0.0.0.0:61612?maximumConnections=1000transport.closeAsync=falseconnectionTimeout=12wireformat.maxFrameSize=104857600"/>
> 
> 
> 
>   http://www.springframework.org/schema/beans; 
> class="org.apache.activemq.hooks.SpringContextHook" />
> 
>   
>   
>   
> 
> {code}
>  
> Activemq community forum link : 
> 

[jira] [Updated] (AMQ-7350) Inconsistency in Offline Durable Topic Subscribers

2019-11-20 Thread Ashish (Jira)


 [ 
https://issues.apache.org/jira/browse/AMQ-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish updated AMQ-7350:

Description: 
Hello All, 
 * I have a issue with my activemq setup with *durable subscription*. 
 * My setup includes a broker with topics and the backend that durably 
subscribes to these topics.
 * Random mapping of durable subscribers happens on each restart. In order to 
fix it, I always have to wipe the persistence
 * All the topics are created via activemq.xml
 * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
doing so, after the restart of my broker i get inconsistency in my offline 
durable topic susbcribers.

I am also attaching the config used by me. As well as an image to describe the 
issue.
 Config with kahadb
{code:java}
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://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd;>

  

  file:${activemq.conf}/credentials.properties

  

  http://activemq.apache.org/schema/core; 
brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
schedulerSupport="false" persistent="true">








  

  

  

  

  
  

  

  

  



  



  




  

  


  


  

  





  
  




  http://www.springframework.org/schema/beans; 
class="org.apache.activemq.hooks.SpringContextHook" />

  
  
  

{code}
Config with mkahadb
{code:java}
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://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd;>

  

  file:${activemq.conf}/credentials.properties

  

  http://activemq.apache.org/schema/core; 
brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
schedulerSupport="false" persistent="true">








  

  

  

  

  
  

  

  

  



  



  

  

  

  

  




  

  


  


  

  





  
  




  http://www.springframework.org/schema/beans; 
class="org.apache.activemq.hooks.SpringContextHook" />

  
  
  

{code}
 

Activemq community forum link : 
[http://activemq.2283324.n4.nabble.com/offline-Durable-Topic-Subscribers-issue-in-activemq-5-15-8-td4753263.html]

  was:
Hello All, 
 * I have a issue with my activemq setup with durable subscription. 
 * My setup includes a broker with topics and the backend that durably 
subscribes to these topics.
 * Random mapping of durable subscribers happens on each restart. In order to 
fix it, I always have to wipe the persistence
 * All the topics are created via activemq.xml
 * With the usage of kahadb/mkahadb, I want to enable persistence as well. In 
doing so, after the restart of my broker i get inconsistency in my offline 
durable topic susbcribers.

I am also attaching the config used by me. As well as an image to describe the 
issue.
 Config with kahadb
{code:java}
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://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core 
http://activemq.apache.org/schema/core/activemq-core.xsd;>

  

  file:${activemq.conf}/credentials.properties

  

  http://activemq.apache.org/schema/core; 
brokerName="MQ-MY-BROKER-NAME" dataDirectory="${activemq.data}" 
schedulerSupport="false" persistent="true">