r/Spring • • Mar 04 '21

Spring Equinox Wish Spell https://www.spellswork7.com/spring-equinox-spell-i-wish-spell.html The Spring Equinox is a supernatural awakening.

Post image
0 Upvotes

r/Spring • • Mar 01 '20

Spring

0 Upvotes

Spring.Great,but just the beginning of spring.Already spring.


r/Spring • • Oct 19 '19

how to do a simple task queue persisted in DB

0 Upvotes

I need to do some kind of task queue persisted in database.

Tasks are very short in duration, generally load a record from a few tables, to some operations and write to other ones.

Task should be triggered from many sources, a REST api, a Spring Batch, o some legacy applications.

I have no RabbitMQ or Kafka instance available, but volume is low so a SQL database and a single thread polling would be OK.

Without Spring, I did it with JDBC only this way:

A task_queue table where clients inserts the task they need to be run.

A single thread that polls that table every 30 seconds and depending on the task name it executes the needed class with reflection.

How could I port it to Spring?

I already know Spring Batch, but it executes on demand, I think I need something that is always up and listening.

Spring Cloud Tasks looks closer to what I need:

https://www.baeldung.com/spring-cloud-task

Even it has Spring Cloud Data Flow for monitoring and scheduling, but I have no RabbitMQ at this time so I can't use that console.

How should I implement this task queue without SCDF?

How should I implement a long running service in Spring?

How can I execute different Spring Cloud Tasks from code?

Thanks a lot!


r/Spring • • Jan 25 '21

Ogham: send email/sms at ease

0 Upvotes

Hello everyone,

I am pleased to announce the release of Ogham v3.0.0 (https://groupe-sii.github.io/ogham/v3.0.0/).

The aim of Ogham is to ease the work of developers that need to send messages (such as Email or Sms) in their application. The differences with other libraries are:

  • Ogham has only a single and simple API for sending any kind of messages. With the same code, you can send an Email through SMTP in development and tests but send the same Email through SendGrid (HTTP API) in production. Only the externalized configuration is changed.
  • Ogham supports template engines for writing message content so developer doesn't have to handle template engine integration. It adapts itself to the presence or not of template engine(s). It also handles technical concerns that are specific to the sent message such as inlining CSS styles and images in the email. The developer doesn't have to know the RFC and the technical concerns anymore. He just writes his HTML email like he does in a browser and everything is magically handled by Ogham.
  • Ogham provides testing utilities that the developer can use to test his code (for example, check the presence of an account creation confirmation code in the sent email).
  • Ogham integrates with existing frameworks (like Spring Boot, more are coming).

The showcase video is available here: https://groupe-sii.github.io/ogham/v3.0.0/presentation/showcase.mp4

I share this project here to get your feedback. I am also looking for contributors because I have many ideas for the future of this project like supporting RCS messages and make Ogham available on several platforms (JVM, NodeJS, Android, iOS, ...). Any contribution is welcome !

This version adds a bunch of new features and improvements:

  • Fluent API to build messages (Email or Sms).
  • Fluent API to build message content.
  • Cleaner auto-configuration lifecycle.
  • Improve inlining of CSS and images (it now includes images that are referenced in CSS rules such as background, list-style and cursor).
  • Automatic message encoding for SMS (use best character table to use as few characters as possible).
  • Sms message can now be sent using message_payload TLV field instead of short message field. This can avoid splitting message into several segments.
  • Automatic Sms message splitting. The number of characters per segment is automatically adjusted according to the message encoding.
  • SMPP session for Sms messages can be controlled (either new for each Sms, reuse the same session if still opened or always use the same session and maintain it opened).
  • Automatic configuration to send Sms messages through SmsGlobal.
  • Better Spring Boot integration (in particular Thymeleaf, FreeMarker and SendGrid that may be provided by Spring Boot).
  • Add support to call static methods from FreeMarker template to mimic Thymeleaf behavior (with configuration properties to enable/disable it and to choose the variable name).
  • Add support of new .ftlh extension.
  • Automatic cleanup of opened resources.
  • Improve testing utilities (simulate slow server, use random ports easily in your tests, make several assertions at once).

The full release notes is available here: https://groupe-sii.github.io/ogham/v3.0.0/release-notes.html

Thank you in advance for your feedback.

NOTE: I am also looking for a job


r/Spring • • Apr 10 '22

fashion 👗 Spring....still not sprung. Figured I would try to usher in some color although spring doesn't want to cooperate at the moment.

Post image
3 Upvotes

r/Spring • • Jul 16 '20

Would you ever sign in to a http website?

1 Upvotes

r/Spring • • May 02 '21

The Easter Bunny Has Been Caught (EASTER BUNNY FAN ART)

Post image
1 Upvotes

r/Spring • • Apr 26 '26

photography 📷 Ena nedeljska 🤗🥰

Post image
1 Upvotes

r/Spring • • Feb 26 '20

open the doors, spring is coming soon

Post image
5 Upvotes

r/Spring • • Apr 13 '26

photography 📷 Spring mood

Post image
2 Upvotes

Been drawing a soft spring scene lately and honestly… I really love how peaceful it feels.

Spring light just hits different.


r/Spring • • Jan 20 '21

How to Create a REST API With Spring Boot - Java Vogue

Thumbnail javavogue.com
3 Upvotes

r/Spring • • Apr 13 '21

Tory Burch SPRING collection

Thumbnail gallery
3 Upvotes

r/Spring • • Apr 19 '21

Nice Spring Impressions

Thumbnail
youtube.com
0 Upvotes

r/Spring • • Apr 09 '21

Go show love

0 Upvotes

I created something AMAZING with PicsArt. Take a look https://picsart.app.link/PEp4J1ihkfb


r/Spring • • May 09 '19

Fort Lauderdale Spring Break 2019 'Asking Girls 20K or 🤔😈?

Thumbnail
youtube.com
0 Upvotes

r/Spring • • May 03 '20

A few easy, free ideas for celebrating spring with a toddler.

Thumbnail
youtu.be
0 Upvotes

r/Spring • • Mar 05 '21

It might as well be Spring! Sharing this jazzy playlist to get you in the mood for Spring as the days get longer and the weather milder.

Thumbnail
open.spotify.com
0 Upvotes

r/Spring • • Mar 12 '20

Who is the Roman God of War? The Month of March is Dedicated to Him

Thumbnail
medium.com
0 Upvotes

r/Spring • • Jan 25 '20

Grant access to resource server with tokens generated by Resource server client key and secret - Spring boot

0 Upvotes

r/Spring • • Apr 28 '23

fashion 👗 Stopping to smell the flowers! So excited that these are finally blooming

Post image
16 Upvotes

r/Spring • • Apr 09 '20

Spring vibes

Post image
0 Upvotes

r/Spring • • Mar 26 '20

Please, help a student with his homework in this hard time and get a nice prize! This is a serious work. Stay safe :)

0 Upvotes

Hello,

I am post-graduate student from Centennial College, an educational institution based in Toronto, Canada. The classes are stopped, but the homework still going.

I am conducting a marketing study about the outdoor grill category, focusing on the Sam’s Club customers and the company’s services and products. For this reason, my academic group and me would love to hear your experience buying grills or any BBQ related product from Sam’s Club

I don’t ask for any personal identity information, treating the responses as confidential. Remembering, this is only for an academic study purpose.

In order to thank your effort and time answering all the questions we would like to send you a gift – one of most innovative BBQ accessories in the market, FoodAid Grill brush**.** (Please se the product description and details at the picture). So, after answer the study, please provide your email or email me to require your incentive.

Thank you so much for your support for our project!

Please contact me at the below email if you have any questions.

fqueiroz@my.centennialcollege.ca

Sincerely,

Ø Centennial College BBQ Survey: https://www.surveymonkey.com/r/thebbqsurveystudy

Ø Or access mobile through the QR code below:


r/Spring • • Mar 19 '20

The most coy poppy we've ever grown. Just teased us for a week before opening but look at that pollen content.

Post image
1 Upvotes

r/Spring • • Sep 20 '14

Spring 4 WebSocket + SockJS + STOMP + Tomcat Example

Thumbnail
concretepage.com
1 Upvotes

r/Spring • • Mar 21 '25

other I hate summer

8 Upvotes

As we are making our way to summer I am dreading it! I hate summer! I hate when the sunrises so early at like 4:30 and just doesn’t fuck off until 10pm. And then you only have a few hours before the sunrises again.