Re: Producers get created automatically

2019-02-14 Thread artemisn00b
Thank you so much! I also had a few other queries, so I posted them on different threads. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Producers get created automatically

2019-02-14 Thread Clebert Suconic
The sprint template is not known to keep the consumer alive. I would recommend playing with a simple consumer. The JMS template is good for request response pattern (I’m trying to find a reason to keep it) Sorting is great for a lot of things. But this JMS template will open a consumer and p

Re: Producers get created automatically

2019-02-14 Thread artemisn00b
Awesome. Thank you so much! I realised what was happening - the producer shows up ONLY when it's sending messages. I think I need to find a way to keep it alive, or connected, even when idle. Would you know if that's something I can do? -- Sent from: http://activemq.2283324.n4.nabble.com/Active

Re: Producers get created automatically

2019-02-13 Thread Clebert Suconic
There are quite a few examples as part of the distribution. I am on an iPhone now and I won’t be able to give you a link. Download artemis. And go j set ./examples. When you open a consumer it will cashe nesdwfes to be ready for your use. If you leak a consumer messages are still cached in the

Re: Producers get created automatically

2019-02-12 Thread artemisn00b
Thank you, but could you please explain what you mean by connection leak in this context, and what are the ways to simplify the consumer? Would you have a link/snippet/project, for the most basic producer - consumer message exchange via artemis? I'll be really glad if you could provide me one. T

Re: Producers get created automatically

2019-02-12 Thread Clebert Suconic
There are connection leaks on the blogpost apparently. It’s keaving consumers open that will be leaking and holding messages. I would simplify the consumer quite a lot. We have plenty examples on our distribution. Not with spring boot. But there is something wrong with the example. I did not

Re: Producers get created automatically

2019-02-12 Thread artemisn00b
I'm simply following this tutorial - https://grokonez.com/spring-framework/spring-jms/apache-artemis-produceconsume-jms-messages-springboot-artemis-applications -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Producers get created automatically

2019-02-12 Thread Clebert Suconic
How do you send via REST? What are you using ? On Tue, Feb 12, 2019 at 12:36 AM artemisn00b wrote: > Hi, I just started exploring Artemis for sending messages from producer to > a > consumer. I'm using a Spring boot starter for this. My problem is that > whenever I run the consumer, the artemis

Producers get created automatically

2019-02-11 Thread artemisn00b
Hi, I just started exploring Artemis for sending messages from producer to a consumer. I'm using a Spring boot starter for this. My problem is that whenever I run the consumer, the artemis console shows that, there are 2 producers created as well. I don't know what is causing this problem. Howeve