Artemis v2.2: ActiveMQIllegalStateException with core API

2017-08-22 Thread Marko Asplund
Hi, I'm getting occasional ActiveMQIllegalStateException in Artemis server log. Artemis has been deployed in a single instance setup and I'm connecting using the core API. I've a single queue with one producer and 10 consumers. The messages can be rather large but the volume has been quite low. He

Re: Artemis: client certificate authentication via AMQP

2017-08-22 Thread Justin Bertram
For what it's worth, the broker's SSL keystore & truststore can be modified and reloaded during runtime, and I think you could take the sender's DN and add it to the message with an AmqpInterceptor implementation. Aside from that you could implement the SASL External mechanism and send a PR. I'm

Re: Artemis: client certificate authentication via AMQP

2017-08-22 Thread Timothy Bish
On 08/22/2017 12:39 PM, adagys wrote: Thanks, I had a look at SASL External before, but Artemis doesn't support it at the moment. Are there any plans for the future? Unfortunately, the 2-way SSL solution isn't sufficient for our use-case. The list of trusted clients is dynamic, and we want to be

Re: Artemis: client certificate authentication via AMQP

2017-08-22 Thread adagys
Thanks, I had a look at SASL External before, but Artemis doesn't support it at the moment. Are there any plans for the future? Unfortunately, the 2-way SSL solution isn't sufficient for our use-case. The list of trusted clients is dynamic, and we want to be able to attach the client certificate's

Re: Artemis: client certificate authentication via AMQP

2017-08-22 Thread Timothy Bish
On 08/22/2017 10:42 AM, Justin Bertram wrote: I'm not sure it would make sense for the PLAIN mechanism to handle SSL certificates since it's only supposed to handle clear text username & password by definition [1]. If you wanted to authenticate via SSL certs via SASL then Artemis would need to i

Re: Artemis: client certificate authentication via AMQP

2017-08-22 Thread Justin Bertram
I'm not sure it would make sense for the PLAIN mechanism to handle SSL certificates since it's only supposed to handle clear text username & password by definition [1]. If you wanted to authenticate via SSL certs via SASL then Artemis would need to implement a SASL mechanism specifically to suppor

Artemis: client certificate authentication via AMQP

2017-08-22 Thread adagys
We have a custom login module that uses client certificates for authentication (similar to CertificateLoginModule), but that doesn't seem to support AMQP clients. Looks like SASL PLAIN doesn't properly map to the Artemis' JAAS implementation (doesn't propagate the connection so certificates can't

Re: JAVA ActiveMQ JMX browse messages on Topic

2017-08-22 Thread Hitesh
Hi Tim, You are right, after providing the topic information, I was able to browse the messages and call the removeMessage(String JMSMessageID) on them. However, On recursive testing, I found after few iterations the removeMessage won't work and the message is not deleted from the topic. Follow

ActiveMQ REST API: HTTP 204 no content response

2017-08-22 Thread varun sirohi
Dear Team, We are integrating with external Apache ActiveMQ server using REST API's. We often get HTTP 204 no content from the ActiveMQ server while doing HTTP GET. We have used the 'oneShot' parameter. We have not used session cookies and 'clientId' parameter while invoking the REST call. The s

Re: Temp Store is Full - False Positive?

2017-08-22 Thread khandelwalanuj
The default location is also not respected. I can see that nothing is there under "data/localhost/tmp_storage " Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Temp-Store-is-Full-False-Positive-tp4695836p4729882.html Sent from the ActiveMQ - User mailing lis

Re: Temp Store is Full - False Positive?

2017-08-22 Thread khandelwalanuj
Thanks Tim for the explanation. "tmpDataDirectory" property is not respected. Even after specifying this I can see that plist directory is created under levelDB directory only. [amqdev@app1a (jupiter.c) /local/mqbroker/leveldb]$ ls .log dirty.index lock nodeid.txt

Re: ActiveMQ: Temp Store location

2017-08-22 Thread khandelwalanuj
"tmpDataDirectory" property is not respected. Even after specifying this I can see that plist directory is created under levelDB directory only. [amqdev@app1a (jupiter.c) /local/mqbroker/leveldb]$ ls .log dirty.index lock nodeid.txt plist.index store-version.txt [amqdev@app