Skip to content

Commit

Permalink
Merge pull request #9 from netz39/durable-messages
Browse files Browse the repository at this point in the history
✨ Make messages durable
  • Loading branch information
penguineer authored Sep 6, 2022
2 parents a8c51b0 + d591115 commit 72d65d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/de/netz39/svc/pwrMtrPlsGw/AmqpEmitter.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@RabbitClient
public interface AmqpEmitter {
@RabbitProperty(name = "contentType", value = "application/json")
@RabbitProperty(name = "deliveryMode", value = "2") // Durable messages
void send(@Binding String destination,
PulseMessage pulseMessage);
}

0 comments on commit 72d65d8

Please sign in to comment.