You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Mikhail Lukyanov (Jira)" <ji...@apache.org> on 2021/02/05 08:23:00 UTC

[jira] [Created] (ARTEMIS-3099) Bridge default producerWindowSize (-1) set at ActiveMQServer.deployBridge(BridgeConfiguration config) changes after broker reboot to 10485760

Mikhail Lukyanov created ARTEMIS-3099:
-----------------------------------------

             Summary: Bridge default producerWindowSize (-1) set at ActiveMQServer.deployBridge(BridgeConfiguration config) changes after broker reboot to 10485760
                 Key: ARTEMIS-3099
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3099
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: Broker
    Affects Versions: 2.16.0
            Reporter: Mikhail Lukyanov
         Attachments: image-2021-02-05-11-11-30-420.png, image-2021-02-05-11-22-14-901.png

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

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

 And default *producerWindowSize* set to -1

 

!image-2021-02-05-11-11-30-420.png!

Then I set this bridge to broker.xml like
{code:java}
<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>{code}
And after broker reboot, I get bridge with *producerWindowSize=10485760*
!image-2021-02-05-11-22-14-901.png!

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)