activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Embedded broker with no persistence
Date Wed, 22 Nov 2006 12:58:42 GMT
On 11/22/06, Datacom - Marcelo <marcelo@datacom-telematica.com.br> wrote:
> Hi, we are tring to start a broker for an embedded version of our
> application with only on JVM and we do not use persistence at all. We
> create a broker this way:
>
>         BrokerService broker = new BrokerService();
>         try {
>             broker.setBrokerName("broker1");
>             broker.setPersistent(false);
>             broker.start();
>        }....
> But derby continues to run, even if we set persistence to false. Is
> there a way to tell to do not start derby or any other persistence
> mechanism ?

I suspect you are creating some vm:// connections before the above
code runs? Otherwise Derby doesn't run.

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message