Re: Using Encrypted Property Placeholders for ActiveMQ SSL passwords

2017-12-07 Thread Tim Bain
I haven't done anything with SSL for ActiveMQ, but the setProperties() method ( https://docs.spring.io/autorepo/docs/spring-framework/3.1.0.RELEASE/javadoc-api/org/springframework/core/io/support/PropertiesLoaderSupport.html#setProperties(java.util.Properties) ) accepts any subclass of java.util.Pr

Re: Artemis CRL

2017-12-07 Thread Justin Bertram
> I copied the code and the certificates from activemq. What code and certs did you copy and where did you copy it to? > My guess is artemis is delegating the ssl infrastructure in Netty and netty isn't supporting CRL by default. Not sure about it. The SSL handshake is done by Netty in Artemis.

Re: Selectors with virtual topics in broker networks

2017-12-07 Thread Tim Bain
The name is a little misleading, but it doesn't do what you're afraid it will. A better name would be replayToRemoteBrokerWithAtLeastOneConsumerWhenNoLocalConsumers. But most people don't like long names, so instead it's the ambiguous replayWhenNoConsumers. Messages are still forwarded only on dem

Re: Artemis CRL

2017-12-07 Thread Raul Valdoleiros
Hi Justin, I already try it ( i tried before send the e-mail), and didn't work. I copied the code and the certificates from activemq. My guess is artemis is delegating the ssl infrastructure in Netty and netty isn't supporting CRL by default. Not sure about it. I'm assuming activemq don't use nett

Re: Artemis CRL

2017-12-07 Thread Justin Bertram
Artemis doesn't support CRL. However, you should be able to adapt what's done in 5.x in org.apache.activemq.spring.SpringSslContext to work in Artemis in org.apache.activemq.artemis.core.remoting.impl.ssl.SSLSupport. Let me know if you're moving forward with this work otherwise I'll take a closer

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread Clebert Suconic
Can you try a snapshot in master.. it sounds something I recently fixed. On Thu, Dec 7, 2017 at 7:45 AM, andi welchlin wrote: > Thank you, Howard. > > Created jiira: https://issues.apache.org/jira/browse/ARTEMIS-1542 > > On Thu, Dec 7, 2017 at 1:05 PM, Howard Gao wrote: > >> I think you can do a

Re: Broker Federation with an Active-Active Broker Cluster

2017-12-07 Thread andi welchlin
Hello Tim, thank you. Now I got the difference. As far as I understood the Artemis documentation it is possible to configure a cluster and also connect single satellite brokers to this cluster. The satellite brokers can be connected using a bi-directional bridge so I would use the core bridge an

Re: Selectors with virtual topics in broker networks

2017-12-07 Thread Devlin
Hi Tim, Different hosts. We used conditionalNetworkBridgeFilterFactory in the past, but removed it months ago thinking it was causing a different issue, turned out to be false, so we are considering enabling it again. What I don't like about this filter is that it only kicks in on broker startup

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread andi welchlin
Thank you, Howard. Created jiira: https://issues.apache.org/jira/browse/ARTEMIS-1542 On Thu, Dec 7, 2017 at 1:05 PM, Howard Gao wrote: > I think you can do a jira for this. It surely sounds like a bug to me. > > On Thu, Dec 7, 2017 at 5:41 PM, andi welchlin > wrote: > > > Hello, > > > > Lookin

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread Howard Gao
I think you can do a jira for this. It surely sounds like a bug to me. On Thu, Dec 7, 2017 at 5:41 PM, andi welchlin wrote: > Hello, > > Looking into the code I think this could be a bug: > > > I can see, that AMQPMessage.getAddress() can return null: > > >@Override >public String getAdd

Re: ActimeMQ runtimeConfigurationPlugin doesn't work as expected

2017-12-07 Thread Gary Tully
it may be tricky, simplest may be to cycle the broker when permissions are removed or remove/add the transportconnector such that all connections recycle. There are no system topics that allow modification in that way, the advisory topics are read only. JMX gives an alternative route to explore if

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread andi welchlin
Hello, Looking into the code I think this could be a bug: I can see, that AMQPMessage.getAddress() can return null: @Override public String getAddress() { if (address == null) { Properties properties = getProtonMessage().getProperties(); if (properties != null) {

Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread andi welchlin
Hello all, I built active/active cluster with two brokers for my first tests. I can see in the log that the two brokers built a cluster. After startup everything looks fine. I configured one queue and sent a message using AMQP 1.0 to broker1 and tried to read it from broker2. But broker2 throws

Artemis CRL

2017-12-07 Thread Raul Valdoleiros
Hi, Artemis support certificate revogation list? If not, i'm available to try implement it if you give some insights about it. Thanks in advance, Raul