activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spiiff <matthias.ba...@siemens.com>
Subject configuring the BrokerFactory, not using xbean
Date Fri, 05 Oct 2007 13:28:57 GMT

Hi,
we want to use activemq for the messaging in our system.
and we want to start it embedded(for performance reasons) with the
BrokerFactory.
But we don't want to use xbean to configure the broker, because we don't
want the spring jars inside our classpaths only for reading a configuration.
We are using version 4.1.1, the stable release. (By the way, when will
version 4.2 be ready?)

On this website:
http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html
there is a description "Using the BrokerFactory" where it should be possible
to use "file:" for the URI scheme. 
Maybe (hopefully) I misunderstood something, but this doesn't work. 
When I look inside the activemq code the FactoryFinder class looks up the
URI scheme inside the jar file:
META-INF/services/org/apache/activemq/broker/ 
But there is no property file for the "file" scheme. 

We want to configure our activemq broker to use our oracle database. Is
there a way to start a BrokerService and configure this 
with the Java API? Or do I need a config file for specifying the database
settings? 
And is there a way to read activemq.xml without using the spring framework?`

It would be very nice if someone could help me....
Thank you very much!!

Regards,
m.b.
-- 
View this message in context: http://www.nabble.com/configuring-the-BrokerFactory%2C-not-using-xbean-tf4575284s2354.html#a13059502
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message