ACTIVEMQ has a web management side.
Starting mode:./bin/activemq
About Jetty.xml, Jetty-realm.properties, Web. xml
Jetty.xml configuration IP and port default is 8161.
<bean id="jettyPort" class="org.apache.activemq.web.WebConsolePort" init-method="start"> <property name="host" value="0.0.0.0"/> <property name="port" value="8162"/></bean>
Jetty.xml access rights for different roles.
<bean id= "Securityloginservice" class= "Org.eclipse.jetty.security.HashLoginService" > <property nam E= "name" value= "Activemqrealm"/> <property name= "config" value= "${activemq.conf}/jetty-realm.properties" /> </bean> <bean id= "Securityconstraint" class= "Org.eclipse.jetty.util.security.Constraint" > <property name= "name" value= "BASIC"/> <property name= "Roles" value= "User,admin"/> <property name= "Authenticate" value= "true"/> </bean> <bean id= "Adminsecurityconstraint" class= "org.e Clipse.jetty.util.security.Constraint "> <property name=" name "value=" BASIC "/> <property Name= "Roles" value= "admin"/> <property name= "Authenticate" value= "true"/> </bean> <b Ean id= "securityconstraintmapping" class= "org.eclipse.jetty.security.ConstraintMapping" > <property name= " Constraint "ref=" SecuritYconstraint "/> <property name=" Pathspec "value="/api/*,/admin/*,*.jsp "/> </bean> <bea n id= "adminsecurityconstraintmapping" class= "org.eclipse.jetty.security.ConstraintMapping" > <property nam E= "constraint" ref= "Adminsecurityconstraint"/> <property name= "Pathspec" value= "*.action"/> </ Bean>
Jetty-realm.properties Configuring user names and passwords and role classifications
admin: admin123, adminuser: user123, user
Control Interface
ACTIVEMQ's web Management console