/**
* Factory method to create a new broker
*/
protected BrokerContainer createBroker() {
BrokerContainer answer = new BrokerContainerImpl();
String url = getConnectorURL();
transportConnector = new ServletConnector(url);
answer.addConnector(transportConnector);
String brokerURL = getServletContext().getInitParameter("org.activemq.brokerURL");
if (brokerURL != null) {
log("Listening for internal communication on: " + brokerURL);
}