> But I'm unable to access it from my browser...

You should use a REST client or a tool like curl so you can specify the
kind of HTTP request (e.g. HEAD, GET, etc.) and also see the full
response.  Using a browser isn't going to work properly with the Artemis
REST messaging interface.

Also, I wouldn't expect to
actually return anything meaningful.  You'd need to configure a queue in
broker.xml and then specify that queue in the URL, e.g.


On Wed, Feb 21, 2018 at 11:50 AM, tcomprak <tcomp...@gmail.com> wrote:

> Thanks Justin. I did what you mentioned below
> - Copied the .war file to the web directory
> root@sh3:~/apache-artemis-2.4.0/web# ls
> activemq-branding.war  activemq-rest.war  api  artemis-plugin.war
> console.war     examples  hacking-guide  images  index.html  META-INF
> styles
> user-manual
> root@sh3:~/apache-artemis-2.4.0/web#
> - Created a new broker and added the web element in its etc/bootstrap.xml
> file as follows
>    <web bind="http://localhost:8161"; path="web">
>        <app url="activemq-branding" war="activemq-branding.war"/>
>        <app url="artemis-plugin" war="artemis-plugin.war"/>
>        <app url="console" war="console.war"/>
>        <app url="artemis-rest" war="activemq-rest.war"/>
>    </web>
> - after which I started the broker
> root@sh3:/var/lib/mybroker# ./bin/artemis-service start
> Starting artemis-service
> artemis-service is now running (31401)
> root@sh3:/var/lib/mybroker#
> But I'm unable to access it from my browser
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html

Reply via email to