activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kneumei <kneu...@gmail.com>
Subject Xbean URI syntax vs property URI syntax
Date Fri, 21 Jan 2011 22:15:17 GMT

Is the property file that you can supply by means of the property URI syntax
to configure a broker as expressive as the xbean file? That is, given any
xml broker configuration file, is there an equivalent property file? Most
examples are given in xml format, but I want to avoid the dependencies on
spring. Maybe someone could point me in the right direction by helping me
with this file:

  <broker xmlns="http://activemq.apache.org/schema/core" useJmx="true"
useShutdownHook="false">

     <managementContext>
       <managementContext createConnector="false"/>
     </managementContext>

    <persistenceAdapter>
       <kahaDB directory="activemq-data/kahadb"/>
     </persistenceAdapter>

    <transportConnectors>
      <transportConnector uri="tcp://localhost:61616"/>
    </transportConnectors>
    
  </broker>

My instinct would be something like this:

broker.useJMX=true
broker.useShutdownHook=false
broker.managementContext.managementContext.createConnector=false
persistenceAdapter.kahaDB.directory=activemq-data/kahadb
broker.transportConnectors.transportConnector.uri=tcp://localhost:61616
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Xbean-URI-syntax-vs-property-URI-syntax-tp3230744p3230744.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message