Hi Christian,

Thanks for the help. In our application we are trying to create a Broker
Container container by using the SpringBrokerContainerFactory's newInstance
method.
SpringBrokerContainerFactory's.newInstance(Resource).

But in BrokerFactoryBean we don't have this method. And I tried to use
setconfig(Resouce) which didn't help as I need to return the instance of
BrokerService.

/*Starts the Service Bus Broker*/
start()
{
        brokerContainer = brokerCreate();
        brokerContainer.start();   
}


/*Create the broker, and return the instance.*/
BrokerService brokerCreate()
{
        Resource resource = new FileSystemResource(configFile);
        return SpringBrokerContainerFactory.newInstance(resource);
}

pls hep us.


Thanks




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/BrokerContainer-SpringBrokerContainerFactory-classes-tp4678387p4678466.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to