File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
spring-kafka/src/main/java/org/springframework/kafka/annotation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 165
165
* {@link org.springframework.kafka.config.KafkaListenerEndpointRegistry
166
166
* KafkaListenerEndpointRegistry} in case you need more control on the way the containers
167
167
* are created and managed. The example below also demonstrates how to customize the
168
- * {@code KafkaHandlerMethodFactory } to use with a custom
168
+ * {@link org.springframework.messaging.handler.annotation.support.DefaultMessageHandlerMethodFactory } to use with a custom
169
169
* {@link org.springframework.validation.Validator Validator} so that payloads annotated
170
170
* with {@link org.springframework.validation.annotation.Validated Validated} are first
171
171
* validated against a custom {@code Validator}.
188
188
* }
189
189
*
190
190
* @Bean
191
- * public KafkaHandlerMethodFactory myMessageHandlerMethodFactory() {
192
- * DefaultKafkaHandlerMethodFactory factory = new DefaultKafkaHandlerMethodFactory ();
191
+ * public MessageHandlerMethodFactory myMessageHandlerMethodFactory() {
192
+ * DefaultMessageHandlerMethodFactory factory = new DefaultMessageHandlerMethodFactory ();
193
193
* factory.setValidator(new MyValidator());
194
194
* return factory;
195
195
* }
You can’t perform that action at this time.
0 commit comments