Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add first pass for Apache ActiveMQ Artemis support #1091

Merged
merged 6 commits into from Sep 24, 2020
Merged

Add first pass for Apache ActiveMQ Artemis support #1091

merged 6 commits into from Sep 24, 2020

Conversation

atrauzzi
Copy link
Contributor

@atrauzzi atrauzzi commented Sep 23, 2020

Hey @makasim! 馃憢

I've managed to put together a first draft for supporting ActiveMQ Artemis using the Enqueue STOMP driver. I have this working locally and I've done my best to stick to your code style, giving in to the odd improvement.

The biggest change I've made is to plumb the notion of broker extensions a bit further into the hierarchy of objects. I noticed in quite a few places, RabbitMQ preferences are hard-coded because there wasn't any way to check which set of extensions are desired for the connection.

Let me know what you think and note any changes or improvements you're after. I have not added tests as I am hoping to get help from you on that if it's something you want done.

Closes: #1067

pkg/stomp/StompConnectionFactory.php Outdated Show resolved Hide resolved
pkg/stomp/StompConsumer.php Outdated Show resolved Hide resolved
pkg/stomp/StompConsumer.php Outdated Show resolved Hide resolved
pkg/stomp/StompConsumer.php Outdated Show resolved Hide resolved
pkg/stomp/StompConsumer.php Outdated Show resolved Hide resolved
@makasim
Copy link
Member

makasim commented Sep 23, 2020

@atrauzzi it looks good to me. There are only some minor comments

@atrauzzi
Copy link
Contributor Author

Wonderful, I'll get on making the fixes.

@makasim
Copy link
Member

makasim commented Sep 23, 2020

There are some CS issues and failing tests. Could you please fix them (only stuff related to your PR)?

@makasim
Copy link
Member

makasim commented Sep 23, 2020

https://travis-ci.org/github/php-enqueue/enqueue-dev/builds/729639649

@atrauzzi
Copy link
Contributor Author

I'll check into it!

@atrauzzi
Copy link
Contributor Author

@makasim - Alright, I think I've got it down now?

@makasim makasim merged commit 49e3936 into php-enqueue:master Sep 24, 2020
@makasim
Copy link
Member

makasim commented Sep 24, 2020

Thank you!

@atrauzzi
Copy link
Contributor Author

My pleasure, thank you for this library! 馃槃

@atrauzzi atrauzzi deleted the feature/stomp-artemis-support branch September 24, 2020 18:58
@makasim
Copy link
Member

makasim commented Sep 24, 2020

@atrauzzi https://github.com/php-enqueue/stomp/releases/tag/0.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't use slashes in and prefix queue name with type in STOMP
2 participants