Re: Failed to perform GET with HTTP connector

2018-04-18 Thread Tim Bain
Samuel, It appears that the relevant sections of your message were stripped out somehow. Can you re-send the message with them included? Also, there are elements of the JIRA bug you linked to that don't match the scenario you described: that bug is occurring after a broker restart, and on broker-

Re: Artemis : 2.4.0 : Looses messages on restart

2018-04-18 Thread Clebert Suconic
ignore this.. you double posted and you figured out... I echo Justin's question on your other post... but please.. answer it there. On Wed, Apr 18, 2018 at 3:16 PM, Clebert Suconic wrote: > Why don't you post an example of what you're doing somewhere in > github? something I (we) can simply use w

Re: Artemis : 2.4.0 : Looses messages on restart

2018-04-18 Thread Clebert Suconic
Why don't you post an example of what you're doing somewhere in github? something I (we) can simply use with a simple maven command. I usually suggest using one of our examples as an example. Since you're using embedded, it seems you're doing something wrong. On Tue, Apr 17, 2018 at 11:30 PM, Ev

Failed to perform GET with HTTP connector

2018-04-18 Thread sue
Hi, I'm having troubles connecting to ActiveMQ using the HTTP connector. The problem happenes on ActiveMQ 5.15.3 My activemq.xml defines to following connectors: My application creates several queues and subscribes to changes. This works fine when using openwire, but the HTTP connector fails

Failed to perform GET with HTTP connector

2018-04-18 Thread sue
Hi, I'm having troubles connecting to ActiveMQ using the HTTP connector. The problem happenes on ActiveMQ 5.15.3 My activemq.xml defines to following connectors: My application creates several queues and subscribes to changes. This works fine when using openwire, but the HTTP connector fai

Re: Artemis + Springboot: How to expose REST API without web.xml?

2018-04-18 Thread EvgenyM
Thank you for coming back to me on this one. I meant to say without the need to go through web.xml config. As I understand Springboot does provide a bootstrap for Artemis ActiveMQ. I was wondering if there is some non evident configuration option as to how one could also enable artemis-rest - jet

Artemis : 2.4.0 : Looses messages on restart

2018-04-18 Thread EvgenyM
Good day, I am just starting with Artemis ActiveMQ and might not be fully across all the details. My issue is that even though I have (seemingly) enabled the persistence and configured queues as durable and persistent, I am loosing messages on the broker restart. Essentially I am missing somethi

Re: Using ActiveMQ For Distributed Replicated Cache

2018-04-18 Thread Tim Bain
I wouldn't say it's atomic, it just shifts around some of the error cases (you risk reading uncommitted writes that might be rolled back, instead of risking having a cache miss when a value should exist). In general, the terms "atomic" and "distributed" are contradictory in most situations. If the

Re: Artemis + Springboot: How to expose REST API without web.xml?

2018-04-18 Thread Justin Bertram
I think your message got cut off or something. You said, "I would sincerely appreciate if someone could give me a direction how to add Artemis REST interface into an instance bootstrapped by springboot without." Without what? In any event, the issue here is that the REST interface relies on an HT

Re: Artemis 2.4.0 : Messages lost on broker restart

2018-04-18 Thread Justin Bertram
What client API or protocol are you using? Different ones have different defaults for messages they send. It would be helpful for future users to know what you're using. Justin On Wed, Apr 18, 2018 at 2:08 AM, EvgenyM wrote: > Figured this out. > > The message itself needs to be marked persist

Artemis + Springboot: How to expose REST API without web.xml?

2018-04-18 Thread EvgenyM
Good day, I would sincerely appreciate if someone could give me a direction how to add Artemis REST interface into an instance bootstrapped by springboot without I have prepped the barebones implementation here : https://github.com/evmin/artemis-mq-rest Any assistance will be greatly appreciated

Client certificate login to management console

2018-04-18 Thread Stefaniuk, Marcin
I'm struggling to configure Artemis 2.4.0 management console to use the same client certificate based JAAS realm. CertLogin { org.apache.activemq.artemis.spi.core.security.jaas.TextFileCertificateLoginModule required debug=true org.apache.activemq.jaas.textfiledn.user="certif

Re: Artemis 2.4.0 : Messages lost on broker restart

2018-04-18 Thread EvgenyM
Figured this out. The message itself needs to be marked persistent EXPLICITLY. Automatically it is non-persistent. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html