Re: Artemis and REST interface

2018-02-20 Thread Justin Bertram
I answered you on your other thread. There's no need to ask the same question in multiple places. Justin On Tue, Feb 20, 2018 at 6:21 PM, tcomprak wrote: > I have the .war file now and I also have a artemis broker service running ? > Can you please help me with what I do

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
I have the .war file now and I also have a artemis broker service running ? Can you please help me with what I do from here - How do I deploy this .war file with a linux process ? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
Thanks Justin. What threw me off is this "Apache ActiveMQ Artemis's REST interface is installed as a Web archive (WAR). It depends on the RESTEasy project and can currently only run within a servlet container. Installing the Apache ActiveMQ Artemis REST interface is a little bit diff

Re: Artemis and REST interface

2018-02-20 Thread Justin Bertram
As far as I can tell Artemis fits all your requirements except the WAR/servlet part. It seems arbitrary to me that you don't/can't use such an implementation. Artemis, even with embedded Jetty, is still just a "plain old linux process." To get what you want with Artemis you'll need to develop

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
Just a bit more information on what I'm trying to do. I want to create a new process that will host REST end points for creating topics/queue and for publishing messages. This will just be a plain old linux process. I don't want to making WAR / servelet containers as described in the

Re: Artemis and REST interface

2018-02-20 Thread Justin Bertram
I'm not sure I can answer your questions with the information you've provided. You say that your use-case doesn't allow for any kind of WAR/servlet deployments, but you are presumably asking about deploying the REST WAR described in the documentation. That doesn't make sense to me. Also, you're

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
However, I can say that Artemis already embeds the Jetty HTTP server which is how it currently serves stuff like the REST management API and the web console. You might just be able to use that > Sorry, I have a related question. Would using this server entail > installing and

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
I see. Thanks Justin -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis and REST interface

2018-02-20 Thread Justin Bertram
I can't say whether or not it's technically possible to "package Apache httpd along with Artemis." That question is beyond the scope of this list I think. However, I can say that Artemis already embeds the Jetty HTTP server which is how it currently serves stuff like the REST management API and

Re: Artemis and REST interface

2018-02-20 Thread tcomprak
Thanks, I actually have an use case where I have to define some more custom REST end points. Is it technically possible to package Apache httpd along with Artemis so I have a lightweight REST server - any thoughts ? -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Artemis and REST interface

2018-02-20 Thread Justin Bertram
There's a REST management API provided by Jolokia which essentially exposes all of the broker's MBeans so you can do things like create/delete addresses & queues. See more in the documentation [1]. To be clear, the REST management API is 100% independent of the REST messaging API. Justin [1]

Artemis and REST interface

2018-02-20 Thread tcomprak
After having read this - https://activemq.apache.org/artemis/docs/1.0.0/rest.html I see that there are REST APIs to produce and consume messages, are there APIs as well to manage topics/queues - for e.g. to create/delete topics/queues ? -- Sent from: