File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
spring-integration-core/src/main/java/org/springframework/integration/support/converter Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ ext {
106
106
springKafkaVersion = ' 4.0.0-SNAPSHOT'
107
107
springRetryVersion = ' 2.0.12'
108
108
springSecurityVersion = ' 7.0.0-SNAPSHOT'
109
- springVersion = ' 7.0.0-M8 '
109
+ springVersion = ' 7.0.0-SNAPSHOT '
110
110
springWsVersion = ' 5.0.0-SNAPSHOT'
111
111
testcontainersVersion = ' 1.21.3'
112
112
tomcatVersion = ' 11.0.10'
Original file line number Diff line number Diff line change 22
22
import java .util .stream .Collectors ;
23
23
import java .util .stream .Stream ;
24
24
25
- import tools .jackson .databind .ObjectMapper ;
26
-
27
25
import org .springframework .beans .BeansException ;
28
26
import org .springframework .beans .factory .BeanFactory ;
29
27
import org .springframework .beans .factory .BeanFactoryAware ;
30
28
import org .springframework .beans .factory .InitializingBean ;
31
29
import org .springframework .core .convert .ConversionService ;
32
30
import org .springframework .core .convert .support .DefaultConversionService ;
33
- import org .springframework .integration .support .json .JacksonJsonObjectMapper ;
34
31
import org .springframework .integration .support .json .JacksonPresent ;
35
32
import org .springframework .integration .support .utils .IntegrationUtils ;
36
33
import org .springframework .messaging .converter .ByteArrayMessageConverter ;
@@ -114,8 +111,7 @@ private static Collection<MessageConverter> initDefaults() {
114
111
List <MessageConverter > converters = new LinkedList <>();
115
112
116
113
if (JacksonPresent .isJackson3Present ()) {
117
- ObjectMapper objectMapper = new JacksonJsonObjectMapper ().getObjectMapper ();
118
- JacksonJsonMessageConverter jsonMessageConverter = new JacksonJsonMessageConverter (objectMapper );
114
+ JacksonJsonMessageConverter jsonMessageConverter = new JacksonJsonMessageConverter ();
119
115
jsonMessageConverter .setStrictContentTypeMatch (true );
120
116
converters .add (jsonMessageConverter );
121
117
}
You can’t perform that action at this time.
0 commit comments