Re: OutOfMemoryError in ActiveMQ

2019-12-19 Thread Tim Bain
You should also describe a few things about the usage pattern. Is there an increasing number of unconsumed messages over time? Do you use a non-trivial number of scheduled messages? And for the heap usage itself, do you see a low staeady state but a sudden spike at the time that the OOM occurs, or

Re: OutOfMemoryError in ActiveMQ

2019-12-19 Thread brusdev
Hi, for memory usage, could be useful taking some screenshot of objects in the heap dump with VisualVM [1]: - screenshot/s of objects in the heap dump sorted by count; - screenshot/s of objects in the heap dump sorted by size; Thanks, Domenico [1] https://visualvm.github.io/ -- Sent from: htt

Re: JMS Headers for Event/operations

2019-12-19 Thread Jean-Baptiste Onofré
Hi, For instance, Camel is using the message headers/properties to store meta-data, so, yes, that's the purpose. You can use JMSType, but IMHO, it's better to use your own header, in order to be portable as the broker can use JMSType eventually. Regards JB On 19/12/2019 12:51, n99 wrote: >

Re: OutOfMemoryError in ActiveMQ

2019-12-19 Thread Jean-Baptiste Onofré
Hi, We would need some details: destination type (queue or topic), persistent or non persistent message, memory/temp usage, etc. Thanks, Regards JB On 19/12/2019 07:40, kyadari wrote: > We have application that use ActiveMQ to transfer data from > source database to destination Database > > A

Re: Custom X509TrustManager pluggability

2019-12-19 Thread Modanese, Riccardo
I agree, it’s the best choice make it configurable on acceptor bases. I’ll take a look to your pr. Thank you a lot! > Il giorno 19 dic 2019, alle ore 17:28, Justin Bertram > ha scritto: > > After thinking about this a bit more it made more sense to me for the > plugin to be defined on a per-a

Re: Custom X509TrustManager pluggability

2019-12-19 Thread Justin Bertram
After thinking about this a bit more it made more sense to me for the plugin to be defined on a per-acceptor and per-connector basis. Therefore I made the configuration part of the broker & client URLs via the new "trustManagerFactoryPlugin" parameter. I opened a JIRA [1] and sent a PR [2]. Justi

OutOfMemoryError in ActiveMQ

2019-12-19 Thread kyadari
We have application that use ActiveMQ to transfer data from source database to destination Database Application is getting issue for every 50+ days i.e. OutOfMemoryError in activeMQ and application gets stopped. After restarting the AMQ services, it will resume the transfer. INFO | jvm

JMS Headers for Event/operations

2019-12-19 Thread n999999
Hello I've found this hard to google, but a quick question hopefully. Wondering if people are using message headers to store event or operation data? eg Add/Update/Delete etc? I would imagine that this kind of data should not be in the message body? If people are using headers is anyone using "