Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 633942

Summary: A durable subscriber created using an address string does not failover properly.
Product: Red Hat Enterprise MRG Reporter: Rajith Attapattu <rattapat+nobody>
Component: qpid-javaAssignee: Rajith Attapattu <rattapat+nobody>
Status: CLOSED DUPLICATE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: high Docs Contact:
Priority: high    
Version: Development   
Target Milestone: 1.3   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-17 02:40:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Reproducer none

Description Rajith Attapattu 2010-09-14 17:49:45 UTC
Description of problem:
A durable subscriber created using an address string does not failover properly if the broker it connects to fails. 
The failover times out with session detached.

Important: This issue can be workaround by using a binding URL to create the topic used for creating the durable subscriber.
Ex. "BURL:my-durable-topic"

Version-Release number of selected component (if applicable):
7.946106-5 onwards

How reproducible:
Always

Steps to Reproduce:
1. Start a two node cluster
2. Run the attached reproducer and observe messages being sent and received
3. Stop the broker the client is connected to.
4. Observe that the client is in a hung state and times out with a detached message.
  
Actual results:
The client does not failover properly, instead it appears to be in a hung state.

Expected results:
Should failover properly.

Comment 1 Rajith Attapattu 2010-09-14 21:26:10 UTC
Created attachment 447326 [details]
Reproducer

The attached test class points to localhost:7672 as the initial broker.
Please modify it to suit your test environment.

Comment 2 Rajith Attapattu 2010-09-17 02:40:29 UTC
The underlying root cause is not related to durable subscriptions using an addressing string. It is a more general issue, highlighted when using the addressing syntax.

The root cause described in Bug 634794

*** This bug has been marked as a duplicate of bug 634794 ***