Re: Embedded Broker - configuration via Java

2007-06-11 Thread Raffaele
Thanks, I've found the answer myself... However, the problem in my code was simply that THE PERSISTENCE CONFIGURATION MUST BE DONE BEFORE ADDING THE CONNECTOR. That is, the call of setPersistence() method must be done before m_broker.addConnector("tcp://localhost:61616"); Could I create a page

Re: Embedded Broker - configuration via Java

2007-06-08 Thread Raffaele
I'm sorry but I need more help to configure from Java an embedded broker... In particular I 'm not able to set persitence in MySql, in fact when I launch my example (that you can found after this message) I cannot see messages in tables... And, if I delete the three tables, my code don't reacreat

Re: Embedded Broker - configuration via Java

2007-06-08 Thread Raffaele
James.Strachan wrote: > > I meant to disable JMX not JMS :) > Eheheh, with disabling JMS we go all at home... Ok, thanks, it was that I started the embeddedbroker with jdk 1.4, and so the solution was to set useJMX to false, thanks again. Best regards Raffaele -- View this message in co

Re: Embedded Broker - configuration via Java

2007-06-08 Thread James Strachan
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

Re: Embedded Broker - configuration via Java

2007-06-08 Thread James Strachan
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();