I tried this: <amq:broker useJmx="false" persistent="false"* dataDirectory="target/activemq-data/"*> <amq:transportConnectors> <amq:transportConnector uri="tcp://localhost:0"/> </amq:transportConnectors> </amq:broker>
But it gives me a SAX parser error about needing the same ending tag. Any other ideas? On Wed, Apr 16, 2008 at 9:43 AM, Doug Douglass <[EMAIL PROTECTED]> wrote: > Mick, > > I presume you sent this to the maven list because you're running amq > within > a unit or integration test? Hmm, might be a better question for the amq > users list, but I'll try... > > How are you configuring the startup of amq? If you're using XBean XML > configuration, there is a "dataDirectory" attribute on the broker > element[1]. This is equivalent to calling > BrokerService.setDataDirectory(), > if you're instantiating amq directly. > > The unit tests I've done use camel directly configured within a Spring > application context using vm transport with mock and test components[2]. > > I'm no amq wiz, so YMMV. > > HTH, > Doug > > [1] http://activemq.apache.org/version-5-xml-configuration.html > [2] http://activemq.apache.org/camel/test.html > > > On Wed, Apr 16, 2008 at 9:47 AM, Mick Knutson <[EMAIL PROTECTED]> > wrote: > > > I am running ActiveMQ and I keep getting ${basedir}/activemq-data when > > what > > I want is ${basedire}/target/activemq-data > > > > Where would I set this? > > > > -- > > Thanks, > > Mick Knutson > > > > http://www.baselogic.com > > http://www.blincmagazine.com > > http://www.linkedin.com/in/mickknutson > > http://www.djmick.com > > http://www.myspace.com/mickknutson > > http://www.myspace.com/BLiNCMagazine > > http://tahoe.baselogic.com > > --- > > > -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.linkedin.com/in/mickknutson http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com ---