org.springframework.amqp.support.converter.ContentTypeDelegatingMessageConverter Java Examples
The following examples show how to use
org.springframework.amqp.support.converter.ContentTypeDelegatingMessageConverter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RabbitConfigurer.java From bird-java with MIT License | 4 votes |
@Bean public MessageConverter messageConverter() { return new ContentTypeDelegatingMessageConverter(new Jackson2JsonMessageConverter()); }
Example #2
Source File: BusConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
@Bean public MessageConverter messageConverter() { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); return new ContentTypeDelegatingMessageConverter(new Jackson2JsonMessageConverter(objectMapper)); }
Example #3
Source File: BusConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
@Bean public MessageConverter messageConverter() { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); return new ContentTypeDelegatingMessageConverter(new Jackson2JsonMessageConverter(objectMapper)); }
Example #4
Source File: BusConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
@Bean public MessageConverter messageConverter() { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); return new ContentTypeDelegatingMessageConverter(new Jackson2JsonMessageConverter(objectMapper)); }
Example #5
Source File: BusConfig.java From SpringCloud with Apache License 2.0 | 4 votes |
@Bean public MessageConverter messageConverter() { ObjectMapper objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); return new ContentTypeDelegatingMessageConverter(new Jackson2JsonMessageConverter(objectMapper)); }