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/08 16:40:00 UTC
[jira] [Comment Edited] (ARTEMIS-3099) Incorrect default
producer-window-size on bridge in broker.xml
[ https://issues.apache.org/jira/browse/ARTEMIS-3099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281188#comment-17281188 ]
Mikhail Lukyanov edited comment on ARTEMIS-3099 at 2/8/21, 4:39 PM:
--------------------------------------------------------------------
[~jbertram] when starting a broker with a *producer-window-size* value =-1 (
DEFAULT_BRIDGE_PRODUCER_WINDOW_SIZE in org.apache.activemq.artemis.api.config.ActiveMQDefaultConfiguration)
an error occurs
{code:java}
<bridge name="bridge1">
<queue-name>QueueName</queue-name>
<forwarding-address>AddressName</forwarding-address>
<producer-window-size>-1</producer-window-size>
<static-connectors>
<connector-ref>connector1</connector-ref>
</static-connectors>
</bridge>{code}
!image-2021-02-08-19-37-54-534.png!
was (Author: lukymiv):
[~jbertram] when starting a broker with a *producer-window-size* value =-1 an error occurs
{code:java}
<bridge name="bridge1">
<queue-name>QueueName</queue-name>
<forwarding-address>AddressName</forwarding-address>
<producer-window-size>-1</producer-window-size>
<static-connectors>
<connector-ref>connector1</connector-ref>
</static-connectors>
</bridge>{code}
!image-2021-02-08-19-37-54-534.png!
> Incorrect default producer-window-size on bridge in broker.xml
> --------------------------------------------------------------
>
> 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
> Assignee: Justin Bertram
> Priority: Major
> Fix For: 2.17.0
>
> Attachments: image-2021-02-05-11-11-30-420.png, image-2021-02-05-11-22-14-901.png, image-2021-02-08-19-37-54-534.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)