[ 
https://issues.apache.org/jira/browse/ARTEMIS-3074?focusedWorklogId=539427&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-539427
 ]

ASF GitHub Bot logged work on ARTEMIS-3074:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jan/21 01:56
            Start Date: 22/Jan/21 01:56
    Worklog Time Spent: 10m 
      Work Description: jbertram commented on a change in pull request #3412:
URL: https://github.com/apache/activemq-artemis/pull/3412#discussion_r562318018



##########
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/ActiveMQServerControlImpl.java
##########
@@ -3822,6 +3822,30 @@ public void createBridge(final String name,
       }
    }
 
+   @Override
+   public String createBridge(String bridgeConfigurationAsJson) throws 
Exception {

Review comment:
       This can return `void`. The only reason the `createQueue` JSON method 
returns a `String` is because the broker applies address settings to the queue 
on the fly to end up at the final configuration and that's something the client 
might like to know. In this case the broker just takes what it's given.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 539427)
    Time Spent: 1h 50m  (was: 1h 40m)

> Add ActiveMQServerControl#createBridge() method variant which accepts the 
> callTimeout attribute
> -----------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3074
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3074
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: API
>    Affects Versions: 2.16.0
>            Reporter: Tomas Hofman
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently there are four variants of the 
> {{ActiveMQServerControl#createBridge()}} method, none of which accepts the 
> {{callTimeout}} attribute of the core bridge.
> The {{callTimeout}} attribute sets a call timeout for blocking calls to the 
> server. Typically a bridge works in a non-blocking manner, but in some cases 
> customers use configurations where calls do block.
> It would still be possible to set call timeout without this change using 
> lower level API ({{ActiveMQServer#deployBridge()}}), but it would require 
> duplicating some code which is already there in {{ActiveMQServerControl}}.



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

Reply via email to