message converter

pull/2302/head
zkzlx 3 years ago
parent b35e7d7877
commit 745d173898

@ -53,6 +53,9 @@ public class ExtendedBindingHandlerMappingsProviderConfiguration {
}
/**
* if you want to customize a bean, please use this BeanName {@code RocketMQMessageConverter.DEFAULT_NAME}.
*/
@Bean(RocketMQMessageConverter.DEFAULT_NAME)
@ConditionalOnMissingBean(name = { RocketMQMessageConverter.DEFAULT_NAME })
public CompositeMessageConverter rocketMQMessageConverter() {

@ -34,9 +34,9 @@ import org.springframework.util.ClassUtils;
public class RocketMQMessageConverter {
/**
* rocketMQMessageConverter.
* if you want to customize a bean, please use the BeanName.
*/
public static final String DEFAULT_NAME = "rocketMQMessageConverter";
public static final String DEFAULT_NAME = "com.alibaba.cloud.stream.binder.rocketmq.convert.RocketMQMessageConverter";
private static final boolean JACKSON_PRESENT;

Loading…
Cancel
Save