I'd echo Gary's suggestion that you capture thread dumps or perform sampling during the slow events. That would make it clear where the time is being spent.
Tim On Wed, Feb 14, 2018 at 11:16 PM, alprausch77 <joachim.gl...@dematic.com> wrote: > Yes, we use XA transactions. > > I don´t think that the NIO mixes this up somehow. We can run our system > with > a standalone ActiveMQ using tcp or nio but also in an embedded mode inside > Wildfly using the VM protocol. > > I just run our tests again with the enableAckCompaction set to false for > the > kahaDB - it looked a lot better as we now only have a few message sends > taking ~10ms or ~20ms (which is also a long time...) but no send took > longer > than that. > > I´ll have further tests in that direction and will keep this post updated. > > Thanks > > > > -- > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User- > f2341805.html >