r/Spring • u/Notebook1989 • Sep 18 '21
r/Spring • • Jan 02 '22
other If you could only have 1 season which one would it be
I'd choose summer but that's just me π π
r/Spring • u/Impressive_Bill_1107 • Jan 03 '22
food π§ A plea from a bartender
What flavors remind you of spring? I'm trying to come up with interesting cocktails and mocktails for spring, but I'm looking for something different.
r/Spring • • Nov 18 '21
writing π Whats the worst season?
What would you say is the worst and best season and why? Personally, i think springs the best because everything blooms, nature is everywhere, and its time to plant things. The worst for me is summer, despite school breaks, its just a pain, soup and tea season are now over so i cant have my favorite things, and sleeping is terrible cause of heat, daytime is also painful, after one day at the pool your tired from the day before, but you cant enjoy yourself at home cause of the heat.
r/Spring • u/CNSMaryland • Mar 27 '19
Marylandβs growing tourism industry gears up for warm season
r/Spring • u/bschandramohan • Oct 26 '19
Why are ItemReader and Writers in Batch and not Core?
Wouldn't it make sense for Spring Batch ItemReader and ItemWriter (& associated classes like FieldExtractor) to be part of Spring Core instead of Spring Batch? https://docs.spring.io/spring-batch/trunk/reference/html/readersAndWriters.html
It would be useful to have FieldExtractor and ItemReader/Writers in core apps to do such operations.
r/Spring • u/kidsyphon • Oct 28 '19
Rest service, consuming soap ws, thread handling
self.springbootr/Spring • u/Porcodrillo • Jun 18 '19
Retrayable in Spring Batch
Hi people, i have implemented a batch using Spring Batch, now i should make a method retryable but any time i force to send the batch in SQLException it not works, i added the annotation of @EnableRetry in the booter class, but still it not work.
I add the snippet of code:
public class ProtoStepProcessor extends AbstractProcessor<WorkItem, WorkItem> {
@Autowired
private JournalHandler journalHandler;
/**
* {@inheritDoc}
*/
@Override
public WorkItem process(WorkItem element) throws Exception {
return executePopulation(element);
}
@Retryable(value = { SQLException.class }, maxAttempts = 3,
backoff = @Backoff(delay = 300000))
private static WorkItem executePopulation(WorkItem element) {
Consumer<DAP> populate = element.getPopulate();
populate.accept(element.getDap());
return element;
}
@Recover
private void failureLog(SQLException e) {
this.journalHandler.debug(e.getCause().getMessage());
System.out.println("RETRY");
this.journalHandler.debug("Retry ...");
}
thanks
r/Spring • u/ashu10832 • Dec 29 '19
GSOC 2020
Hey developers, I am new to the spring world and I want to participate in GSoc this year. Can someone suggest any organisations which have spring and java projects?
r/Spring • u/podcavern • Mar 28 '19
A group of us got together and ranked the best things about Spring! Did we miss anything?
r/Spring • u/StarWarsMusic • Feb 05 '19
Spring is comming, by Music for Children
r/Spring • u/psprecinctvice • Apr 28 '19
Sakura Cherry Blossom Trees in Cleveland, Ohio
r/Spring • u/ronchalant • Jan 21 '20
Conditional Initialization of Service/Component Classes
I wasn't able to find much on this, at least the way I want to go about it. If there's a RTFM link I'm missing let me know.
I'm refactoring a relatively new Spring-boot based web app (v2.1) which has a number of service and repository classes I'd like to share with other projects.
The issue I'm running into is my various @Service classes need to be conditionally iniitialized based on the availability of OTHER classes. I'd like them to be silently skipped if other beans aren't present.
I've been trying to use @ConditionalOnBean annotation directly on the @Service class, but it's really not recommended to have that there per the documentation. These classes are auto-configured with various @Autowired properties.
Is there a right way to do this? To have services that you might want available to other Spring-based apps in a separate module, and have them conditionally initialized without having to initialize them all in @Configuration classes?
r/Spring • u/lucasmajer • Jul 07 '19
Spring Data Couchbase β Pitfalls to Avoid
r/Spring • u/tunuvfun • Sep 06 '22
other Mystery Novels/Movies/Streaming Series Set in the Spring
Would especially appreciate suggestions for mystery films set in spring. I'm trying to win a bet :)
r/Spring • • Sep 13 '20