Skip to content

Commit

Permalink
fix: Use message.identifier, closes #37
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzilske committed Nov 21, 2022
1 parent 48b92f7 commit 3e1a31f
Showing 1 changed file with 1 addition and 1 deletion.
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 3e1a31f

Please sign in to comment.