Skip to content

Commit

Permalink
fix: subscription annotation values
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas authored and matt2e committed Dec 16, 2024
1 parent f5a8007 commit 9b60315
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public static SubscriptionAnnotation fromJandex(IndexView indexView, AnnotationI
}
topicName = annotation.value().asString();
AnnotationValue moduleValue = annotation.value("module");
AnnotationValue deadLetterValue = annotation.value("deadLetter");
AnnotationValue deadLetterValue = subscriptions.value("deadLetter");
boolean deadLetter = deadLetterValue != null && !deadLetterValue.asString().isEmpty() && deadLetterValue.asBoolean();
AnnotationValue from = annotation.value("from");
AnnotationValue from = subscriptions.value("from");
FromOffset fromOffset = from == null ? FromOffset.LATEST : FromOffset.valueOf(from.asEnum());

return new SubscriptionAnnotation(
Expand Down

0 comments on commit 9b60315

Please sign in to comment.