GitHub user jbertram opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2469

    NO-JIRA avoid unnecessary Bindings instance creation

    When trying to get the bindings for an address the getBindingsForAddress
    method will create a Bindings instance if there are no bindings for the
    address. This is unnecessary in most circumstances so use the
    lookupBindingsForAddress method instead and check for null.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jbertram/activemq-artemis 
avoidBindingsInstance

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2469.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2469
    
----
commit 9fe86f3507a4b483a131c0af9ead62d8f77a0efa
Author: Justin Bertram <jbertram@...>
Date:   2018-12-18T17:48:12Z

    NO-JIRA avoid unnecessary Bindings instance creation
    
    When trying to get the bindings for an address the getBindingsForAddress
    method will create a Bindings instance if there are no bindings for the
    address. This is unnecessary in most circumstances so use the
    lookupBindingsForAddress method instead and check for null.

----


---

Reply via email to