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
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
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
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();