Skip to content

Commit

Permalink
Fix apidocs links
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasrutishauser committed Nov 5, 2024
1 parent cfdb2d5 commit 9c51991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following APIs are optionally supported for serialization:
- JSON-B 2.0

## Publish an Event
An Event can be published using the [`EventPublisher`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/?com/github/jonasrutishauser/transactional/event/api/EventPublisher.html) API:
An Event can be published using the [`EventPublisher`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/com/github/jonasrutishauser/transactional/event/api/EventPublisher.html) API:

```java
@Inject
Expand All @@ -34,7 +34,7 @@ An Event can be published using the [`EventPublisher`](https://jonasrutishauser.
```

## Handle an Event
For every event type published there must be a corresponding [`Handler`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/?com/github/jonasrutishauser/transactional/event/api/handler/Handler.html) (qualified by [`EventHandler`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/?com/github/jonasrutishauser/transactional/event/api/handler/EventHandler.html)):
For every event type published there must be a corresponding [`Handler`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/com/github/jonasrutishauser/transactional/event/api/handler/Handler.html) (qualified by [`EventHandler`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/com/github/jonasrutishauser/transactional/event/api/handler/EventHandler.html)):

```java
@Dependent
Expand All @@ -48,7 +48,7 @@ class SomeEventHandler extends AbstractHandler<SomeEvent> {
```

## Data Source
The library expects that the following table exists when using the `javax.sql.DataSource` with the [`Events`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/?com/github/jonasrutishauser/transactional/event/api/Events.html) qualifier:
The library expects that the following table exists when using the `javax.sql.DataSource` with the [`Events`](https://jonasrutishauser.github.io/transactional-event/snapshot/transactional-event-api/apidocs/com/github/jonasrutishauser/transactional/event/api/Events.html) qualifier:

```sql
CREATE TABLE event_store (
Expand Down

0 comments on commit 9c51991

Please sign in to comment.