Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4726

Text information of ant producer durable option is not correct

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.9.0
    • None
    • None

    Description

      The ant build.xml file of activemq reports that "durable option" will create a durable subscriber

           [echo]             ant producer <options> - Creates a producer publishing a number of messages
           [echo]
           [echo]             Producer Options:
           [echo]                             url - Used to specify acustom URL for the broker,
           [echo]                                   e.g., tcp://hostname:1234
           [echo]                           topic - A boolean to determine whether to use topics
           [echo] 		                        or queues
           [echo]                         subject - Used to specify a custom destination name,
           [echo]                                   e.g. MyDestination
           [echo]                         durable - A boolean to specify that you want to create
           [echo]                                   a durable topic subscriber?
      

      Obviously, this is a mistake as the "durable" option for the producer allows to change DeliveryMode of the message ('PERSISTENT' or 'NON-PERSISTENT')

      Maybe, we should use 'persistent' as property name but then the build.xml file and java class need to be changed

      Attachments

        Activity

          People

            Unassigned Unassigned
            cmoulliard Moulliard Charles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: