Bugs item #985616, was opened at 2004-07-05 22:19
Message generated for change (Comment added) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=985616&group_id=22866

>Category: None
>Group: None
>Status: Closed
>Resolution: Fixed
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.

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

>Comment By: Adrian Brock (ejort)
Date: 2004-07-06 19:43

Message:
Logged In: YES 
user_id=9459

Fixed. Although, not in the way described by this patch.

Thanks,
Adrian

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&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