Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 786 Bytes

File metadata and controls

43 lines (30 loc) · 786 Bytes

Transactional Outbox Pattern JPA Starter

Library for Transaction Outbox Pattern using Spring Boot JPA with zero configuration.

Usage

Add dependency in your spring boot project

  • Maven
<dependency>
    <groupId>io.github.bhuwanupadhyay</groupId>
    <artifactId>transactional-outbox-pattern-jpa-starter</artifactId>
    <version>[version]</version>
</dependency>
  • Gradle
implementation 'io.github.bhuwanupadhyay:transactional-outbox-pattern-jpa-starter:[version]'

Customize configurations

boot:
  outbox:
    max-events-per-polling: 50
    polling-interval-in-milliseconds: 10000

Using OutboxPublisher

@Autowired
private OutboxPublisher outboxPublisher;

Demo Example

You can find demo example Demo App