Hello active Mq users ,
I hope this mail reaches you all in good spirits. This
is in regard to the topic of starting active mq embedded broker
automatically by the Tomcat server. Our application has two web apps
which exchange messages through the embedded active mq broker.
Thread.sleep(10 * 1000);
>
> producer.restart();
> }
> catch (Exception e) {
> WrCheck.logWarn(e);
> }
> }
> catch (Exception exc) {
> WrChe
}
public static void main(String[] args) throws Exception {
EmbeddedBroker eb = new EmbeddedBroker();
eb.go();
}
}
Best regards.
--
View this message in context:
http://www.nabble.com/Embedded-Broker---configuration-via-Java-tf3888599s2354.html#a11029347
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
essage in context:
http://www.nabble.com/Embedded-Broker---configuration-via-Java-tf3888599s2354.html#a11023623
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
On 6/8/07, James Strachan <[EMAIL PROTECTED]> wrote:
On 6/8/07, Raffaele <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm trying to create, configure and launch a broker all in one class.
>
> I have a ClassNotFoundException executing the following lines:
>
> BrokerService broker = new BrokerService
On 6/8/07, Raffaele <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to create, configure and launch a broker all in one class.
I have a ClassNotFoundException executing the following lines:
BrokerService broker = new BrokerService();
broker.addConnector("tcp://localhost:61616");
broker.start();
nfluence where it is explained how to configure
a broker ALL using only Java without any xml and without Spring?
Thanks, best regards.
Raffaele
--
View this message in context:
http://www.nabble.com/Embedded-Broker---configuration-via-Java-tf3888599s2354.html#a11023134
Sent from the ActiveMQ