Promises in Java: Using Promises to Recover from Failure
Channel:
Subscribers:
24,000
Published on ● Video Link: https://www.youtube.com/watch?v=LE2X1ebqXiA
Communications is error prone. Connections time out, servers fail to respond, returned data can be incomplete or corrupted. Bnd, the OSGi tooling project, has an HttpClient class which is used for communications including with remote repositories like Maven/Nexus and P2 repositories. The Bnd CI builds started having significant failures due to communications problems with the Eclipse download servers, so with some light code restructuring, I was able to add retry support to HttpClient using the Promises package from OSGi. This session will take a look at the Promises package and how it was easily used to recover from communications failures.
Speaker(s):
BJ Hargrave (IBM)
Other Videos By Eclipse Foundation
Tags:
OSGi
BND
Promises
EclipseCon Europe