On 3/2/07, Kelly Campbell <[EMAIL PROTECTED]> wrote:
One problem with Rob's method of initialization is you have to
re-initialize the broker for each unit test which I'd rather not do
for performance reasons.
The problem with the recommended approach James mentioned in the docs
(turning persiste
One problem with Rob's method of initialization is you have to
re-initialize the broker for each unit test which I'd rather not do
for performance reasons.
The problem with the recommended approach James mentioned in the docs
(turning persistence off), is what about when you specifically want to
Rob Davies wrote:
> for unit tests - we often set the deleteAllMessagesOnStartup flag on the
> broker
>
> For your case where you are using the vm://transport, create the broker
> separetly in your setUp() - and set the deleteAllMessageOnStartup
> property on the broker before calling start() or s
for unit tests - we often set the deleteAllMessagesOnStartup flag on
the broker
For your case where you are using the vm://transport, create the
broker separetly in your setUp() - and set the
deleteAllMessageOnStartup property on the broker before calling start
() or setting a transport co
On 3/1/07, Kelly Campbell <[EMAIL PROTECTED]> wrote:
I'm trying to figure out how to do this same thing in the current
codebase (4.1/4.2). Basically I just want to purge all queues at the
beginning of a unit test to ensure a clean start. I have a local vm://
broker and would prefer not to go thro
On 5/15/06, Adrian Tarau <[EMAIL PROTECTED]> wrote:
I know the utility of JMX, I use it :) But right now I don't want to
activate JMX. I saw that ActiveMQ use MX4J 2.1.1(why don't use 3.0.1?)
and I have already in my application MX4J 3.0.1 libraries and I remember
I used 3.0.1 with a project that
I'm trying to figure out how to do this same thing in the current
codebase (4.1/4.2). Basically I just want to purge all queues at the
beginning of a unit test to ensure a clean start. I have a local vm://
broker and would prefer not to go through JMX to do this.
Thanks,
Kelly
On 5/17/06, Hiram