Using Encrypted Property Placeholders for ActiveMQ SSL passwords

2017-12-05 Thread MillieretXavier
Hi all, I use activeMq 5.12.3 inside Karaf 3.0.7 I try to encrypt the password inside the sslcontext into activemq.xml I follow several links, like: http://activemq.apache.org/encrypted-passwords.html a the RedHat's solution: https://access.redhat.com/solutions/742423 https://issues.jboss.org/se

Re: Dispatched Queue

2017-12-05 Thread Tim Bain
Off the top of my head, I can think of the following: * all messages are published with the same group ID * one consumer has a selector that doesn't match any messages * one consumer is on a different broker in a network of brokers and you've set decreaseNetworkConsumerPriority to true I'd bet I c

Re: Could not reserve enough space for object heap

2017-12-05 Thread Tim Bain
There are a number of possible explanations laid out in https://stackoverflow.com/questions/4401396/could-not-reserve-enough-space-for-object-heap, the first Google search result when searching for that error message. Do any of them, or any of the other search results for that error, explain the be

ActimeMQ runtimeConfigurationPlugin doesn't work as expected

2017-12-05 Thread zaptos
Hello! I've been configured ActimeMQ as MQTT broker using *jaasAuthenticationPlugin & runtimeConfigurationPlugin* features, but unfortunately I have an issues when I don't understand - is it a bug or feature in ActiveMQ: 1) There is a configured user *test *with password *testpass*. The ActiveMQ i

Re: Broker Federation with an Active-Active Broker Cluster

2017-12-05 Thread Tim Bain
Not with ActiveMQ 5.x, since it doesn't have a capacity to do an active-active cluster, but ActiveMQ Artemis can. Have you looked at it? Tim On Dec 5, 2017 7:28 AM, "andi welchlin" wrote: > Hello, > > I would like to setup a active-active cluster of brokers using ActiveMq. > > But I also would

Broker Federation with an Active-Active Broker Cluster

2017-12-05 Thread andi welchlin
Hello, I would like to setup a active-active cluster of brokers using ActiveMq. But I also would like to connect single ActiveMq satellite brokers to this cluster while they should share some queues and exchanges. So this will be pretty much like a federation between some satellite brokers and a

Re: ActiveMQ losing durable topic messages when JournalledJDBCPersistence enabled

2017-12-05 Thread Tim Bain
Jason, Thanks for the very thorough investigation; it's very much appreciated. Yes, when you submit the bug in JIRA (you'll need to sign up for a JIRA account), please describe the bug in enough detail that hopefully an implementor will be able to understand the problem without referring back to

RE: ActiveMQ custom plugin

2017-12-05 Thread Tim Bain
I'd suggest that you store your cache of known credentials in your plugin. I'm not sure that you'd have access to the web session from a plugin, because that's MQTT-specific, so I think your best bet would be to store it in a Map (better: a Guava cache, so you get free age-off behavior) within your

Re: Why the source package of “selector” is empty?

2017-12-05 Thread Gary Tully
those are generated classes from https://github.com/apache/activemq/blob/master/activemq-client/src/main/grammar/SelectorParser.jj On Mon, 4 Dec 2017 at 14:23 softwbc wrote: > < > http://activemq.2283324.n4.nabble.com/file/t377159/QQ%E6%88%AA%E5%9B%BE20171204161238.jpg > > > > I look at several

RE: ActiveMQ custom plugin

2017-12-05 Thread Gupta Bharat
Hi Tim, I am having a scenario here. Using custom plugin I am validating my JWT tokens and fetching the claims from it. Claims: { "unique_name": "gubhpi", "sub": "gubhpi", "kid": "1d884b7a-88ce-40e7-9bb8-f5e8f6b5837d", "ExternalStaffReference": "0a8395d7-50b5-4cd8-ac68-6213da955f1c",

Re: ActiveMQ losing durable topic messages when JournalledJDBCPersistence enabled

2017-12-05 Thread jasons
Hi Tim, we managed to attach a debugger as requested and the path you identified does seem to be the one taken by the incorrect update to ACTIVEMQ_ACKS table in respect of DC1. We took several stack dumps (text below) at the different debug points you requested in case that also helps. Note that