FUSE Message Broker
  1. FUSE Message Broker
  2. MB-764

'activemq' script should complain if an instance name does not begin with 'activemq-instance-'

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1-fuse-00-00
    • Fix Version/s: None
    • Component/s: broker
    • Labels:
      None
    • Similar Issues:
      Show 9 results 

      Description

      When you create a new instance using 'activemq create <instance-name>', but don't begin the <instance-name> with 'activemq-instance-', then the script will create the instance anyway BUT WILL READ THE WRONG ACTIVEMQ.XML file on startup! It will read $ACTIVEMQ_HOME/conf/activemq.xml, not $ACTIVEMQ_BASE/conf/activemq.xml.

      If the intent is that all instances should be prefixed with 'activemq-instance-', then we should not allow users to accidentally create incorrect instances. Alternatively, if we are going to allow users to create instances using their own naming schemes, then we should ensure that we read the correct configuration file.

        Activity

        Hide
        Adrian Trenaman
        added a comment -

        Not directly - but this whole new instance thing with ActiveMQ is going to start causing us pain. The concept is GREAT - the problem is that there have been a load of bugs in the scripts and non-obvious things (like this) that make it really difficult to use!

        Show
        Adrian Trenaman
        added a comment - Not directly - but this whole new instance thing with ActiveMQ is going to start causing us pain. The concept is GREAT - the problem is that there have been a load of bugs in the scripts and non-obvious things (like this) that make it really difficult to use!

          People

          • Assignee:
            Unassigned
            Reporter:
            Adrian Trenaman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: