Re: consuming messages with REST API in Java

2019-07-12 Thread Luigi Suardi
AMQ would be one of many microservices in our service oriented (hybrid cloud) architecture... all communication is REST / HTTP based with API gateways and other tools used to route, balance and control access to API end points... I am not sure how to fit JMS in this scenario. Thoughts? Luigi

Re: consuming messages with REST API in Java

2019-07-11 Thread Tim Bain
I'm curious, why would you use the REST API from a Java client rather than using the Java-native JMS API, which doesn't have edge cases such as the need to keep the connection alive and the challenges with messages getting stranded in prefetch buffers? Tim On Wed, Jul 10, 2019, 10:27 AM Luigi Sua

consuming messages with REST API in Java

2019-07-10 Thread Luigi Suardi
hello activemq, i am using amq 5.15.9 and want to consume messages using the REST API. i am hitting the issue described in the documentation @ https://activemq.apache.org/rest "When consuming messages using the REST API, you have to keep session alive between GET requests, or you’ll create a