Skip to content

Commit

Permalink
Merge pull request #38 from stefanzilske/master
Browse files Browse the repository at this point in the history
Use messageIdentifier as sequenceIdentifier
  • Loading branch information
CodeDrivenMitch authored Nov 21, 2022
2 parents a4237b0 + 3e1a31f commit 918a317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.6</version>
<version>1.11.0</version>
<executions>
<execution>
<id>install node and yarn</id>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DlqActionEndpoint(
val list = it.toList()
val i = list.first()
val firstMessage = i.message()
val sequence = sequencingPolicy.getSequenceIdentifierFor(firstMessage).toString()
val sequence = sequencingPolicy.getSequenceIdentifierFor(firstMessage)?.toString() ?: i.message().identifier
DlqItem(
sequence,
list.size,
Expand Down

0 comments on commit 918a317

Please sign in to comment.