Receiving messages via receiveNoWait()

2018-12-05 Thread Andreas Gies
Hello all, we are using ActiveMQ 5.15.6 in our application. The application is built on top of OSGi and uses ActiveMQ as an embedded Broker within the container. The container establishes a single intraVM connection to the broker, messages are being sent and consumed in several sessions

Re: Get StorePercentUsage for Queue

2018-12-05 Thread davidmlentz
Hitesh, The JMX path to this property is org.apache.activemq:type=Broker,brokerName=localhost/StorePercentUsage . (Your brokername value may be different.) There's info on this and other broker metrics in this article: https://www.datadoghq.com/blog/activemq-architecture-and-metrics/ If you're

Re: ActiveMQ HA on failover topic mode

2018-12-05 Thread PedroRP
Hi Tim! Sorry about the late answer. I fixed the configuration and now I have a master/slave that work fine. But I still lose messages. I checked the consumer connection and It is equal than the producer. Moreover when I disconnect master broker consumer and producer reconnect to the slave

Re: Logging Task Ids from ActiveMQ broker to the producer application

2018-12-05 Thread snekam
yes these are custom logs that I can control. so seems like MDC can solve my problem. will start looking into it. thanks for the suggestion/solution! -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

After upgrading activemq 5.13.1 to activemq 5.15.7, issues with java.security.Security.insertProviderAt/org.apache.activemq.broker.BrokerService

2018-12-05 Thread sunil kumar
We upgraded activemq 5.13.1 to activemq 5.15.7 to over come the security vulnerable to CVE-2015-5254 and CVE-2014-3612. for ref: here are the links for each CVE: http://activemq.apache.org/security-advisories.data/CVE-2015-5254-announcement.txt?version=1=1449589734000=v2

Consume messages randomly

2018-12-05 Thread pascal
Hi, I make some tests in transaction mode and randomly the consumer return null while there are still some messages left. One time it cosume all messages, one time 200, one time 400. I use the consumer receive method with a timeout. I try to increase the timeout but nothing change If I do a

Re: Logging Task Ids from ActiveMQ broker to the producer application

2018-12-05 Thread Tim Bain
So these are all custom log messages over which you have control? Can you simply add the JMSMessageID to each one? Or put it into the MDC ( https://logging.apache.org/log4j/2.x/manual/thread-context.html, or https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/MDC.html if you're using