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

Enabling transactional mode for channels? #196

Open
garte opened this issue May 26, 2021 · 1 comment
Open

Enabling transactional mode for channels? #196

garte opened this issue May 26, 2021 · 1 comment

Comments

@garte
Copy link

garte commented May 26, 2021

I'm currently evaluating persistence guarantees if a RabbitMQ node fails and read about enabling transactional mode in channels.

However, I've not found any way to do this with this library. Am I missing something? Or is this not implemented yet?

(The other topic would be Publisher Confirms, but I guess that's something that's not covered by the AMQP standard?)

@ono
Copy link
Collaborator

ono commented Jul 19, 2021

sorry, i didn't notice your message. that's right - tx hasn't been implemented yet. no specific reason. PR is welcome if anyone fancies 👍 The approach would be like:

  • Create records under core.ex for Tx class
  • Implement each functions under newly created AMQP.Tx module

I suppose you can pretty much follow the implementation of AMQP.Confirm.select/1.

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

No branches or pull requests

2 participants