package com.ssh.jms;
import java.io.File;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.broker.TransportConnector;
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
public class JMSBroker {
public static BrokerService createBrokerService(String brokerName,
String uri, String discoveryUri, String adpterDir) throws Exception {
BrokerService broker = new BrokerService();
broker.setBrokerName(brokerName);
List<TransportConnector> transportConnectorList = new ArrayList<TransportConnector>();
import java.io.File;
import java.net.URI;
import java.util.ArrayList;
import java.util.List;
import org.apache.activemq.broker.BrokerService;
import org.apache.activemq.broker.TransportConnector;
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
public class JMSBroker {
public static BrokerService createBrokerService(String brokerName,
String uri, String discoveryUri, String adpterDir) throws Exception {
BrokerService broker = new BrokerService();
broker.setBrokerName(brokerName);
List<TransportConnector> transportConnectorList = new ArrayList<TransportConnector>();