Coder Social home page Coder Social logo

activemq's People

Contributors

alwynpan avatar mathias-s avatar n0ha avatar robertoschwald avatar samholton avatar tholu avatar todvora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

activemq's Issues

ActiveMQ Security

ActiveMQ security (JMS) is not enabled even if a ACTIVEMQ_USERNAME is set.

How to reproduce:
Start the container: docker run --rm -it -e ACTIVEMQ_PASSWORD=x -e ACTIVEMQ_USERNAME=q symptoma/activemq:latest
Go inside container : docker exec -it CONTAINER_ID sh
And execute: /opt/activemq/bin/activemq browse --amqurl tcp://localhost:61616 MYQUEUE without any credentials

To fix: I think you have to add in activemq.xml a section as described in one of these links:

Configure jetty / logging dynamically based on env vars

It would be great to be able to configure jetty by env-vars instead of mapping in a modified jetty.xml file ( see #4)
e.g.

  • jetty host property
  • jetty port property
  • log4j2 settings (currently some logging is performed to data/activemq.log and data/audit.log), so an env var setting to log everything to console would be helpful.

This way, it would be easy to run e.g. in Amazon ECS or any other container service.

Modifications may be performed e.g. by using an entrypoint script which performs the necessary changes in conf/jetty.xml and conf/log4j2.properties

Enable/Disable Scheduler Support via an Environment Variable

It would be great to have the ability to enable schedulerSupport via an environment variable.
This would require updating the <broker ...> tag in the conf/activemq.xml to include schedulerSupport="true"

<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}">
change to
<broker xmlns="http://activemq.apache.org/schema/core" 
      brokerName="localhost" dataDirectory="${activemq.data}" schedulerSupport="true" >

This would allow messages to be scheduled and/or have a deliveryDelay.

Thank you for your project and thank you in advance for considering this request.

Kahadb

where is kahadb located and if it is growing how do handle the size of it?

Web Console is not reachable by default From Container

@tholu I am trying out your docker image as a "sandbox " for my development machine and I read the following:

Since 5.16.0 the Web Console is not reachable by default, as it only listens to 127.0.0.1 inside the container. See AMQ-8018 for more details.

Is the expectation that users of the image would manually implement what AMQ-8018 is saying.

Have you considered this approach (Editing files from dockerfile). By Adding the following line after your RUN command in the Dockerfile I was able to access the console via the browser.

RUN sed -i "s|127.0.0.1|0.0.0.0|g" $ACTIVEMQ_HOME/conf/jetty.xml

I would be interested to know your take on this workaround for a "development" environment

Thanks in advance,
max

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.