[ 
https://issues.apache.org/jira/browse/ARTEMIS-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947050#comment-15947050
 ] 

ASF GitHub Bot commented on ARTEMIS-1082:
-----------------------------------------

GitHub user mtaylor opened a pull request:

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

    ARTEMIS-1082 Catch Create Queue race in OpenWire

    

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

    $ git pull https://github.com/mtaylor/activemq-artemis ARTEMIS-1082

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

    https://github.com/apache/activemq-artemis/pull/1153.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 #1153
    
----
commit 955af96fe9e3d6a7fb518fb0161368306c2d0376
Author: Martyn Taylor <[email protected]>
Date:   2017-03-29T12:45:45Z

    ARTEMIS-1082 Catch Create Queue race in OpenWire

----


> OpenWire protocol race condition on create queue
> ------------------------------------------------
>
>                 Key: ARTEMIS-1082
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1082
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Martyn Taylor
>
> IT's possible that 2 threads can attempt to auto-create queue at the same 
> time.  The 2nd thread will get a QueueAlreadyExists exception.  The OpenWire 
> protocol barfs if this happens.  Instead we should catch the exception and 
> return as normal.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to