Hello,

I'm trying to make work QPid Java Broker with Derby Store. The first startup
works fine but the second I've these error (I think you already aware about
it) :
Error writing AMQQueue with name test-queue to database:
java.sql.SQLIntegrityConstraintViolationException: ...

In fact the queue test-queue already exist (because it's transient queue) in
the database so I added some code to DerbyMessageStore.java to check if the
queue we want to add exists : in fact I do a select request to the database
and if result.next() return false then I create the queue.

There is the same problems with the bindings and the exchanges I think. 

I don't know what you think about this correction anyway I think it's solve
the transient objects replications problem with derby database. Maybe you
have a better one in the pipe ?

Tell me if you're interested to check the correction I done.

++
-- 
View this message in context: 
http://n2.nabble.com/DerbyStore-PB-tp2372373p2372373.html
Sent from the Apache Qpid developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to