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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Issue #26 and #55 and add missing fields in type definition + quorum support #56

Merged
merged 27 commits into from
Apr 9, 2024

Conversation

MartianH
Copy link

@MartianH MartianH commented Mar 19, 2024

  1. Fix issue Correct protocol is 'amqp', not 'amqp://' #26 : The accepted protocol value is now amqp and amqps without ://
  2. Fix issue Error when adding a forward slash to PLAIN credentials, throws "TypeError: Invalid URL" #55: Use encodeURIComponent() for both user and password and do not url encode entire string
  3. Add messageTTL and passive to QueueOptiondefinition: documentation states these are valid yet they are not present
  4. Add type to QueueOptions: Sets argument x-queue-type, as to enable quorum support
  5. Adjusted specs: added protocol in connection config (spec/integration/configuration.js) and queue type

@MartianH MartianH changed the title Fix issue #26 and #55 and add missing fields in type definition Fix issue #26 and #55 and add missing fields in type definition + quorum support Mar 19, 2024
zlintz
zlintz previously approved these changes Apr 7, 2024
Copy link
Member

@zlintz zlintz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good just a couple comments. Things that could be good either par

package.json Outdated Show resolved Hide resolved
src/amqp/connection.js Show resolved Hide resolved
src/amqp/connection.js Show resolved Hide resolved
@zlintz zlintz merged commit e503616 into Foo-Foo-MQ:main Apr 9, 2024
2 checks passed
@MartianH MartianH changed the title Fix issue #26 and #55 and add missing fields in type definition + quorum support fix: Issue #26 and #55 and add missing fields in type definition + quorum support Apr 9, 2024
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.

2 participants