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

How to send tasks with persistent mode? #44

Open
harryct229 opened this issue Jan 21, 2021 · 1 comment
Open

How to send tasks with persistent mode? #44

harryct229 opened this issue Jan 21, 2021 · 1 comment

Comments

@harryct229
Copy link

Hi, I got into an issue is that sometimes my rabbitMQ server is dead or restarted and all messages that in queue is gone.

So I wonder, how can we send tasks with persistent mode instead of memory mode?

Screen Shot 2021-01-21 at 10 25 09 PM

@harryct229 harryct229 changed the title How to send task with persistent mode? How to send tasks with persistent mode? Jan 21, 2021
@actumn
Copy link
Owner

actumn commented Mar 2, 2021

Hi. Sorry for late.
Thank you for reporting the issue.

Unfortunately, there are no detailed task options.

properties: {
correlationId: taskId,
replyTo: ""
},

For persistent mode, it requires adding delivery_mode on the task properties above.
It's not such a hard task, so if you want, I can add delivery_mode as default as soon as possible.

And feel free to make any Pull Requests. :)

Thank you.

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