[ https://issues.apache.org/jira/browse/QPID-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
William Henry updated QPID-3371: -------------------------------- Comment: was deleted (was: Turned on --verbose to see what happened. No "0 OK" but no error either: $ qpid-route --verbose link add localhost:5682 localhost:5672 Connect method returned: 0 OK $ qpid-route link list localhost:5682 Host Port Transport Durable State Last Error ============================================================================= localhost 5672 tcp N Operational $ qpid-route -d --verbose link add localhost:5682 localhost:5672 $ qpid-route link list localhost:5682 Host Port Transport Durable State Last Error ============================================================================= localhost 5672 tcp N Operational $ qpid-route --verbose link del localhost:5682 localhost:5672 Close method returned: 0 OK $ qpid-route link list localhost:5682 No Links Found $ qpid-route -d --verbose link add localhost:5682 localhost:5672 Connect method returned: 0 OK ) > 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:dev-subscr...@qpid.apache.org