> is the lock and unlock method invocation in JDBCSpoolRepository really
needed?
> If getNextPendingMessage() in eg accept() is called, the Message
> is removed from the LinkedList [=pendingMessages] with
> .removeFirst(), so another Thread couldn't get this removed Message.
What prevents the message from being put back on the list by
loadPendingMessages, if the message is still in the spool? :-)
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]