[ 
https://issues.apache.org/jira/browse/DISPATCH-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ted Ross updated DISPATCH-1724:
-------------------------------
    Description: 
Fallback destination is failing for a scenario where it should be working.  In 
the use case of interest, two message brokers are connected to a single router. 
 One broker is designated primary and the other secondary.  Both brokers have 
an instance of the same queue.

The auto-link for enqueue to the primary broker is normal (on phase 0), the 
auto-link for enqueue to the secondary broker is designated as the fallback.

In this case, if the primary broker is never connected but the secondary broker 
is, a sender for the address in question is never given credit to send.

Test configuration:
{code:java}
address {
    pattern: FOO
    enableFallback: yes
}

connector {
    host: 127.0.0.1
    port: 10000
    role: route-container
    name: primary
}

connector {
    host: 127.0.0.1
    port: 10001
    role: route-container
    name: secondary
}

autoLink {
    connection: primary
    dir: out
    addr: FOO
}

autoLink {
    connection: secondary
    dir: out
    addr: FOO
    fallback: yes
}
{code}

  was:
Fallback destination is failing for a scenario where it should be working.  In 
the use case of interest, two message brokers are connected to a single router. 
 One broker is designated primary and the other secondary.  Both brokers have 
an instance of the same queue.

The auto-link for enqueue to the primary broker is normal (on phase 0), the 
auto-link for enqueue to the secondary broker is designated at the fallback.

In this case, if the primary broker is never connected but the secondary broker 
is, a sender for the address in question is never given credit to send.

Test configuration:
{code}
address {
    pattern: FOO
    enableFallback: yes
}

connector {
    host: 127.0.0.1
    port: 10000
    role: route-container
    name: primary
}

connector {
    host: 127.0.0.1
    port: 10001
    role: route-container
    name: secondary
}

autoLink {
    connection: primary
    dir: out
    addr: FOO
}

autoLink {
    connection: secondary
    dir: out
    addr: FOO
    fallback: yes
}
{code}


> Fallback destination fails when primary consumer is on an auto-link
> -------------------------------------------------------------------
>
>                 Key: DISPATCH-1724
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1724
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node
>    Affects Versions: 1.12.0
>            Reporter: Ted Ross
>            Priority: Major
>             Fix For: 1.13.0
>
>
> Fallback destination is failing for a scenario where it should be working.  
> In the use case of interest, two message brokers are connected to a single 
> router.  One broker is designated primary and the other secondary.  Both 
> brokers have an instance of the same queue.
> The auto-link for enqueue to the primary broker is normal (on phase 0), the 
> auto-link for enqueue to the secondary broker is designated as the fallback.
> In this case, if the primary broker is never connected but the secondary 
> broker is, a sender for the address in question is never given credit to send.
> Test configuration:
> {code:java}
> address {
>     pattern: FOO
>     enableFallback: yes
> }
> connector {
>     host: 127.0.0.1
>     port: 10000
>     role: route-container
>     name: primary
> }
> connector {
>     host: 127.0.0.1
>     port: 10001
>     role: route-container
>     name: secondary
> }
> autoLink {
>     connection: primary
>     dir: out
>     addr: FOO
> }
> autoLink {
>     connection: secondary
>     dir: out
>     addr: FOO
>     fallback: yes
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to