Creating a durable federation link over an existing non-durable link does not 
throw an exception
------------------------------------------------------------------------------------------------

                 Key: QPID-3371
                 URL: https://issues.apache.org/jira/browse/QPID-3371
             Project: Qpid
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.10
            Reporter: William Henry
            Priority: Minor


I created a link and then tried adding a durable dynamic route. It failed 
because the link was not durable. I re-added the link without first deleting. 
The following command returned no errors:

qpid-route -d link add localhost:5672 localhost:5682

However the following error continued:
$ qpid-route -d dynamic add localhost:5672  localhost:5682 Test
Failed: Exception - Can't create a durable route on a non-durable link

So I 'del' the link and then re added with the '-d' and then the "qpid-route -d 
dynamic add" succeeded. 


Commands verbose:
$ qpid-route link add localhost:5672 localhost:5682
$ qpid-config add exchange direct Test
$ qpid-config add exchange direct Test localhost:5682
$ qpid-route -d dynamic add localhost:5672  localhost:5682 Test
Failed: Exception - Can't create a durable route on a non-durable link
$ qpid-route -d link add localhost:5672 localhost:5682
$ qpid-route -d dynamic add localhost:5672  localhost:5682 Test
Failed: Exception - Can't create a durable route on a non-durable link
$ qpid-route link del localhost:5672 localhost:5682
$ qpid-route -d link add localhost:5672 localhost:5682
$ qpid-route -d dynamic add localhost:5672  localhost:5682 Test



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to