Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4154

Creating durable topic does create transient topic exchange

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 0.14
    • 0.19
    • JMS AMQP 0-x

    Description

      Using address string to create an exchange, durable:true flag is ignored. So only transient exchange is created.

      reproducer:
      export CLASSPATH=/usr/local/src/junit4.9b2/junit-4.9b2.jar:$(find "/usr/share/java/" -name '*.jar' | tr '\n' ":")
      cd /usr/share/doc/qpid-java-0.14/examples
      ./run_example.sh org.apache.qpid.example.Spout --content="msg1" "MyExchange; {create:always, node:{type:topic, durable:true}}"

      qpid-config exchanges then shows MyExchange as non-durable.

      Patch is attached.

      Attachments

        1. bz824917.patch
          2 kB
          Pavel Moravec

        Issue Links

          Activity

            No work has yet been logged on this issue.

            People

              Unassigned Unassigned
              pmoravec Pavel Moravec
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified