title: Configure ActiveMQ plugin without activemq.xml and spring
body: <p>I want to configure an ActiveMQ broker to use a jaas authentication plugin. I know this can be done using xml-configuration using something like below</p>
  
  <pre><code>&lt;broker useJmx="false" persistent="false" xmlns="http://activemq.apache.org/schema/core" populateJMSXUserID="true"&gt;
      &lt;plugins&gt;
          &lt;!--  use JAAS to authenticate using the login.config file on the classpath to configure JAAS --&gt;
          &lt;jaasAuthenticationPlugin configuration="activemq-domain" /&gt;
      &lt;/plugins&gt;
  &lt;/broker&gt;
  </code></pre>
  
  <p>. But afaik this also requires me to bring spring-stuff to the classpath, something i would like to avoid. Can the broker plugins be started in some other ways</p>