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: Transaction interleaving

2019-11-26 Thread Tim Bain
This sounds like a valid bug. Could you please submit a bug report for it in JIRA? Thanks, Tim On Tue, Nov 26, 2019 at 2:53 AM Viliam Durina wrote: > I'm doing these steps: > > Xid xid1, xid2; > XASession session = ...; > MessageConsumer consumer = ...; > XAResource xaRes = sess

Re: OutOfMemoryError in activeMQ and applcation gets stopped

2019-11-26 Thread Tim Bain
Are you by any chance using CMS as your GC strategy? It's got a nasty shortcoming where because it doesn't compact Old Gen, it's possible to have heap fragmentation that means it's not possible to allocate contiguous space for a large object even though there's still space free. If so, you should c

Re: Slow consumer on Queue ?

2019-11-26 Thread Tim Bain
A few things. 1) Slow consumers themselves can't be disabled. What can be enabled or disabled is configuration for what the broker should do in response to them. And you should definitely configure limits to protect the broker in the event that a consumer is consistently slower than the producer i

Re: OutOfMemoryError in activeMQ and applcation gets stopped

2019-11-26 Thread sainath
Hi All, Yes, we have configured the limits on memory usage in the broker settings. We also checked the heap dump and found that still 500 MB free space available. So what could you be the reason for OutOfMemoryError in activeMQ Also we are monitoring the AMQ queues and there is no pending mes

Which Java version is recommended per each version of Artemis?

2019-11-26 Thread Victor
Hi all, For a short period of time there was a pre-requisites section in the documentation stating the Java version recommended to run Artemis ( http://activemq.apache.org/components/artemis/documentation/1.0.0/running-server.html ) . I can't find such info anymore. Is this documented somewhere?

Transaction interleaving

2019-11-26 Thread Viliam Durina
I'm doing these steps: Xid xid1, xid2; XASession session = ...; MessageConsumer consumer = ...; XAResource xaRes = session.getXAResource(); xaRes.start(xid1, TMNOFLAGS); consumer.receive(); xaRes.end(xid1, TMSUCCESS); // prepare the xid1, continue with xid2 xaR

Re: LDAP authorization with multiple LDAP servers

2019-11-26 Thread Weil, Janus
Dear Justin, thanks a lot for your reply (and please keep me in CC, since I'm not subscribed to the ActiveMQ mailing list). By now I have tried to use a space-separated list of URLs and indeed it seems to work. Very nice! I guess it would be good to mention this in the documentation, wouldn

Re: Thread deadlock during message processing

2019-11-26 Thread Mario Mahovlić
Hello all, Has anyone managed to check this out? It seems to be a pretty major race condition issue with large message processing. Unfortunately I just realized that attachments get removed from e-mails, so here are relevant thread stacks... Stacks of 2 *deadlocked *threads: "Thread-1074 (Active