You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Daniel Kulp <dk...@apache.org> on 2007/05/29 19:12:14 UTC

activemq-data dir in jms transport....

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.

Thanks!
-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog

Re: activemq-data dir in jms transport....

Posted by James Strachan <ja...@gmail.com>.
On 5/29/07, Daniel Kulp <dk...@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/