Skip to content

Commit 5c97734

Browse files
committed
Fix Javadoc links in setMessagingConverter method
- Add proper links for SmartMessageConverter and BatchMessageConverter - Use code formatting for batchMessageConverter field reference - Simplify setBatchMessageConverter method link format Signed-off-by: Jujuwryy <[email protected]>
1 parent c6c02ad commit 5c97734

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/BatchMessagingMessageListenerAdapter.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ public void setBatchToRecordAdapter(BatchToRecordAdapter<K, V> batchToRecordAdap
117117
* properly propagated to the batch converter's record converter for message conversion
118118
* in batch listeners.
119119
* <p>
120-
* This method cannot be called after {@link #setBatchMessageConverter(BatchMessageConverter)
121-
* setBatchMessageConverter()} as it would cause a mutation of the internal
122-
* batchMessageConverter. Instead, the SmartMessageConverter has to be provided on the
123-
* external BatchMessageConverter. Since {@link BatchMessagingMessageConverter} now
120+
* This method cannot be called after {@link #setBatchMessageConverter(BatchMessageConverter)}
121+
* as it would cause a mutation of the internal {@code batchMessageConverter}. Instead, the
122+
* {@link SmartMessageConverter} has to be provided on the external {@link BatchMessageConverter}.
123+
* Since {@link BatchMessagingMessageConverter} now
124124
* always has a default {@link org.springframework.kafka.support.converter.MessagingMessageConverter},
125125
* users can configure the converter via the annotation without needing to set it on the factory.
126126
* @param messageConverter the converter to set

0 commit comments

Comments
 (0)