Core extension starter for Spring apps.
FutureCalculator
,PastCalculator
- beans to forward datetime values. For example,futureCalculator.calc(LocalDateTime.now(), "20s")
is equal toLocalDateTime.now().plusSeconds(20)
MessageService
- is a customized version of Spring'sMessageSource
with fewer parametersExpiredRecordsCollector
- an accumulative interface for expired data collectionQueue
,Slicer
,Task
- interfaces to implement custom queues, slicers and tasks respectivelyPublishingPoller
- polling based abstraction to process large datasetsDefaultDurationConverter
- bean to convert duration values to a different time unit. For example,durationConverter.convert(new DurationValue(1200, TimeUnit.SECONDS), TimeUnit.MINUTES)
produces the converted valueDurationValue(value=20, timeUnit=MINUTES)
Build requirements:
- latest JDK and Maven
Also available in Maven central:
<dependency>
<groupId>fun.wilddev.lib</groupId>
<artifactId>spring-starter-core-ext</artifactId>
<version>1.0.2.RELEASE</version>
</dependency>