Never mind. Seems to be a FAQ but Nabble's search currently doesn't work too well due to problems with people.apache.org (timeouts). After registering with Nabble searching works fine and I found the answer. No go in 4.1.1., unfortunately. Begin forwarded message: > From: Bas Schulte > Date: 12 oktober 2007 22:51:19 GMT+02:00 > To: users@activemq.apache.org > Subject: Stumped: using web console to talk to remote broker > > Hi, > > I'm running activemq stand-alone and want to use web console, > deployed in jetty or tomcat, to manipulate queues etc.. > > I can't figure out how I can do that. Web console by default comes > with this application context: > > class="org.apache.activemq.xbean.BrokerFactoryBean"> > > > > class="org.apache.activemq.web.SessionPool"/> > class="org.apache.activemq.web.BrokerFacade" autowire='constructor' > singleton="false"/> > class="org.apache.activemq.web.QueueBrowseQuery" > autowire='constructor' singleton="false"/> > class="org.apache.activemq.web.MessageQuery" autowire='constructor' > singleton="false"/> > > This creates *another* broker *in* my webapp which is not what I want. > > I tried this, to make it use my remote (well, in the same box, for > now) broker: > > class="org.apache.activemq.broker.BrokerService"> > > > tcp://localhost:61616 > > > > > This still tries to create a broker: > > 2007-10-12 22:43:23,028 DEBUG > [org.springframework.beans.factory.support.DefaultListableBeanFactory] > - Creating instance of bean 'brokerQuery' with merged defini > tion [Root bean: class [org.apache.activemq.web.BrokerFacade]; > scope=prototype; abstract=false; lazyInit=false; > autowireCandidate=true; autowireMode=3; dependenc > yCheck=0; factoryBeanName=null; factoryMethodName=null; > initMethodName=null; destroyMethodName=null; defined in > ServletContext resource [/WEB-INF/applicationCont > ext.xml]] > 2007-10-12 22:43:23,040 DEBUG > [org.springframework.beans.factory.support.DefaultListableBeanFactory] > - Returning cached instance of singleton bean 'brokerService > ' > 2007-10-12 22:43:23,041 DEBUG > [org.springframework.beans.factory.support.DefaultListableBeanFactory] > - Autowiring by type from bean name 'brokerQuery' via constr > uctor to bean named 'brokerService' > 2007-10-12 22:43:23,059 INFO > [org.apache.activemq.broker.BrokerService] - ActiveMQ 4.1.1 JMS > Message Broker (localhost) is starting > 2007-10-12 22:43:23,059 INFO > [org.apache.activemq.broker.BrokerService] - For help or more > information please see: http://incubator.apache.org/activemq/ > > > What's the magic incantation to make web console talk to the broker > at tcp://localhost:61616 ? > > thanks, > > bas. > > -- > bas a schulte - http:// > www.connectedcreations.nl - http://www.wittezeiltjes.nl - > +31653508689 > -- bas a schulte - http:// www.connectedcreations.nl - http://www.wittezeiltjes.nl - +31653508689