activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Edstrom <>
Subject Re: How to run ActiveMq server from Java code.
Date Wed, 28 Jul 2010 00:33:28 GMT
BrokerService broker = new BrokerService();
        // configure the broker

On Jul 27, 2010, at 2:51 PM, szeldon wrote:

> Hi,
> I'm working on an application that uses JMS among other transport
> technologies. There are TestNG tests for much of the code. I want to create
> unit tests for JMS invocations. For this, I need to start a JMS server
> inside my unit tests. How to achieve this using ActiveMq? I was looking for
> an answer for two days and I couldn't find anything appropriate.
> Best regards,
> szeldon
> -- 
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

Johan Edstrom

They that can give up essential liberty to purchase a little temporary safety, deserve neither
liberty nor safety.

Benjamin Franklin, Historical Review of Pennsylvania, 1759

View raw message