cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: activemq-data dir in jms transport....
Date Thu, 07 Jun 2007 11:15:52 GMT
On 5/29/07, Daniel Kulp <dkulp@apache.org> wrote:
>
> After a build, I'm ending up with an activemq-data directory in the jms
> transport.    Could someone look into getting that into the target
> directory please.

You can specify that on the URI you use to connect to the broker. The
simplest option is to use this URI by default when writing tests (then
there's no persistent files)...

http://activemq.apache.org/how-to-unit-test-jms-code.html

i.e.

ConnectionFactory connectionFactory = new
ActiveMQConnectionFactory("vm://localhost?broker.persistent=false");


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message