You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/10/11 17:08:44 UTC

[jira] [Created] (AMQ-4800) ActiveMQ broker in xml files should have start=false

Claus Ibsen created AMQ-4800:
--------------------------------

             Summary: ActiveMQ broker in xml files should have start=false
                 Key: AMQ-4800
                 URL: https://issues.apache.org/jira/browse/AMQ-4800
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.10.0
            Reporter: Claus Ibsen


We should change
{code}
    <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}">
{code}

To
{code}
    <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}" start="false">
{code}

As there is logic that starts the broker, when really needed. As the start option in the xml above is tied to xbean spring which starts it too soon.

For example in osgi we have set the start=false which is needed there.

Maybe we could flip the default so start is false? So we dont have to set start=false everywhere.

Gary knows more.



--
This message was sent by Atlassian JIRA
(v6.1#6144)