|
@@ -2,8 +2,6 @@ package com.persagy.dmp.rwd.edit.config.web;
|
|
|
|
|
|
import com.persagy.common.json.JacksonMapper;
|
|
|
import com.persagy.dmp.rwd.edit.config.shiro.DmpAccessControlFilter;
|
|
|
-import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
|
|
|
-import org.springframework.amqp.support.converter.MessageConverter;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
|
|
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
|
@@ -46,9 +44,4 @@ public class WebConfig implements WebMvcConfigurer {
|
|
|
return registration;
|
|
|
}
|
|
|
|
|
|
- @Bean
|
|
|
- public MessageConverter customMessageConvert() {
|
|
|
- return new Jackson2JsonMessageConverter();
|
|
|
- }
|
|
|
-
|
|
|
}
|