inbox persistence and failure recovery

26 views
Skip to first unread message

had...@gmail.com

unread,
Jan 19, 2017, 9:24:34 AM1/19/17
to Baratine
Hey,
I'm trying to figure out if baratine is right for my use case.
In case a service crashes, what happens to the inbox? are these messages lost and won't be executed again?
What about a result waiting on a service that crashed (such as out of memory), would the caller of the service know that it crashed? the result would have an exception set? is there some kind of heartbeat mechanism?

Thanks

Alex Rojkov

unread,
Jan 29, 2017, 10:51:51 PM1/29/17
to Baratine
Baratine provides @Ensure annotation that can be used to designate
method for guaranteed delivery. See
https://github.com/baratine/auction/blob/master/src/main/java/examples/auction/src/main/java/examples/auction/AuctionSettlementVault.java
and associated use case for details.

javadoc @ http://doc.baratine.io/javadoc/SNAPSHOT/io/baratine/service/Ensure.html

@Ensure(ed) method calls survive server crashes and will be called on
server start.
> --
> You received this message because you are subscribed to the Google Groups "Baratine" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to baratine-io...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages