Patches item #985616, was opened at 2004-07-06 10:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=985616&group_id=22866

Category: JBossMQ
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: William Hoyle (woyle)
Assigned to: Nobody/Anonymous (nobody)
Summary: Persistent messages not rolled back when queue stopped/full

Initial Comment:
The PersistentQueue.addMessage() method writes messages
to the store before delegating to BasicQueue to add the
message to the cache and create the commit/rollback tasks.

If the queue is stopped or full BasicQueue.addMessage()
will throw an exception before it has created the
rollback task.

Because the rollback task is not created the message is
never removed from the store, so when the server is
restarted the message is recovered and sent.

The attached diff patches PersistentQueue.java to store
the message after the rollback task is created.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=985616&group_id=22866


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to