Skip to content

Can I have more than one outbox in the same application, to have different retry policies? #737

Answered by badgerwithagun
lburja asked this question in Q&A
Discussion options

You must be logged in to vote

Interesting idea. There is no easy way to do this.

I think what we probably want is a new option for parameterised calls, e.g.

  outbox.with().retryBehaviour(attempts, timeBetweenAttempts).schedule(MyService.class).doSomething()`

And add overrideMaxAttemptCount and overrideTimeBetweenAttempts nullable fields to TXNO_OUTBOX. to support it.

It's not a tricky change.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@lburja
Comment options

Answer selected by lburja
Comment options

You must be logged in to vote
1 reply
@lburja
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants