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
> ---
>

Reply via email to