Bug 1159572

Summary: Duplicate message deliveries when start an MDB twice via CLI
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tyronne Wickramarathne <tywickra>
Component: HornetQAssignee: Chao Wang <chaowan>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: bbaranow, cdewolf, chaowan, istudens, jawilson, mnovak, msvehla
Target Milestone: CR2   
Target Release: EAP 6.4.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 09:58:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1207953    

Description Tyronne Wickramarathne 2014-11-01 16:08:25 UTC
Description of problem:
A singleton MDB delivers duplicate messages when start-delivery() is invoked twice while the message being delivered


Version-Release number of selected component (if applicable):
JBoss-EAP-6.3.1


Steps to Reproduce:
1. Create a producer, which keeps sending messages for every second
2. Deploy a singleton consumer MDB
3. Invoke start-delivery() method on the MDB while the messages being delivered

Actual results:
MDB delivers duplicate messages

Expected results:
MDB needs to ignore start-delivery() call if the MDB has already been started.

Additional info:

Comment 6 Rostislav Svoboda 2015-04-23 11:11:28 UTC
Re-acking after "qa_ack flag reset for and jboss-eap-6.4.0 and jboss-eap-6.4.z items" cleanup.

Comment 8 Miroslav Novak 2015-05-18 06:51:02 UTC
Verified in EAP 6.4.0.CP1.CR2 using MDBTestCase. Thanks for the test!

Comment 9 Petr Penicka 2017-01-17 09:58:55 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.

Comment 10 Petr Penicka 2017-01-17 10:00:04 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.