GitHub user lulf opened a pull request:

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

    Support outgoing AMQP connections

    @mtaylor This is the initial version. The first commit is something that I 
was surprised that was not there, so let me know if it's bad. Without it, I 
have to call connectionCreated explicitly.
    
    The second commit fixes an issue I saw when testing, where it looked like 
onFlow was called on a session that had already been closed.
    
    The third commit is the actual implementation of outgoing connections. The 
code was originally a part of the AMQP connector service that is left out of 
this commit, but I thought it was a better fit inside the AMQP implementation. 
In the integration test you can see that its a bit awkward in its use, so I 
think it would benefit from a refactoring at some point.

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

    $ git pull https://github.com/EnMasseProject/activemq-artemis ARTEMIS-814

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

    https://github.com/apache/activemq-artemis/pull/855.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 #855
    
----
commit be5aebfac527b3744742ff63cc348276a9b38a66
Author: Ulf Lilleengen <l...@redhat.com>
Date:   2016-10-21T13:14:51Z

    ARTEMIS-814: Notify connection listener of connection created

commit 9e13d8702fd434033747e9af8c1108f12e35349e
Author: Ulf Lilleengen <l...@redhat.com>
Date:   2016-10-21T13:22:46Z

    ARTEMIS-814: Fix a bug where context could be null in case a connection was 
closed before the flow arrived

commit 00b64342c15828dbd96153d7070f4f01dc61d3cd
Author: Ulf Lilleengen <l...@redhat.com>
Date:   2016-10-21T13:24:16Z

    ARTEMIS-814: Add support for outgoing AMQP connections

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to