Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-3099

Incorrect default producer-window-size on bridge in broker.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.16.0
    • 2.17.0
    • Broker
    • None

    Description

      I deploy bridge via ActiveMQServer.deployBridge(BridgeConfiguration config) like

       

      server.deployBridge(new BridgeConfiguration()
       .setName("myBridge")
       .setQueueName("myQueue")
       .setForwardingAddress("myFowardingAddress")
       .setStaticConnectors(List.of("in-vm")));

      And default producerWindowSize set to -1

       

      Then I set this bridge to broker.xml like

      <bridges>
       <bridge name="myBridge">
       <queue-name>myQueue</queue-name>
       <forwarding-address>myFowardingAddress</forwarding-address>
       <static-connectors>
       <connector-ref>in-vm</connector-ref>
       </static-connectors>
       </bridge>
       </bridges>

      And after broker reboot, I get bridge with producerWindowSize=10485760

       

      Attachments

        1. image-2021-02-08-19-37-54-534.png
          88 kB
          Mikhail Lukyanov
        2. image-2021-02-05-11-22-14-901.png
          53 kB
          Mikhail Lukyanov
        3. image-2021-02-05-11-11-30-420.png
          71 kB
          Mikhail Lukyanov

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              lukymiv Mikhail Lukyanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m