Java Code Examples for org.springframework.integration.context.IntegrationContextUtils#ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME
The following examples show how to use
org.springframework.integration.context.IntegrationContextUtils#ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME .
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: KafkaStreamsBinderSupportAutoConfiguration.java From spring-cloud-stream-binder-kafka with Apache License 2.0 | 5 votes |
@Bean public KafkaStreamsMessageConversionDelegate messageConversionDelegate( @Qualifier(IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) CompositeMessageConverter compositeMessageConverter, SendToDlqAndContinue sendToDlqAndContinue, KafkaStreamsBindingInformationCatalogue KafkaStreamsBindingInformationCatalogue, @Qualifier("binderConfigurationProperties") KafkaStreamsBinderConfigurationProperties binderConfigurationProperties) { return new KafkaStreamsMessageConversionDelegate(compositeMessageConverter, sendToDlqAndContinue, KafkaStreamsBindingInformationCatalogue, binderConfigurationProperties); }
Example 2
Source File: BinderFactoryAutoConfiguration.java From spring-cloud-stream with Apache License 2.0 | 5 votes |
@Bean public MessageConverterConfigurer messageConverterConfigurer( BindingServiceProperties bindingServiceProperties, @Qualifier(IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) CompositeMessageConverter compositeMessageConverter, @Nullable StreamFunctionProperties streamFunctionProperties) { return new MessageConverterConfigurer(bindingServiceProperties, compositeMessageConverter, streamFunctionProperties); }
Example 3
Source File: BinderFactoryAutoConfiguration.java From spring-cloud-stream with Apache License 2.0 | 5 votes |
@Bean public MessageSourceBindingTargetFactory messageSourceFactory( @Qualifier(IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) CompositeMessageConverter compositeMessageConverter, CompositeMessageChannelConfigurer compositeMessageChannelConfigurer) { return new MessageSourceBindingTargetFactory(compositeMessageConverter, compositeMessageChannelConfigurer); }
Example 4
Source File: ContentTypeConfiguration.java From spring-cloud-stream with Apache License 2.0 | 5 votes |
@Bean(name = IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) public CompositeMessageConverter configurableCompositeMessageConverter( ObjectProvider<ObjectMapper> objectMapperObjectProvider, List<MessageConverter> customMessageConverters) { customMessageConverters = customMessageConverters.stream() .filter(c -> isConverterEligible(c)).collect(Collectors.toList()); CompositeMessageConverterFactory factory = new CompositeMessageConverterFactory(customMessageConverters, objectMapperObjectProvider.getIfAvailable(ObjectMapper::new)); return factory.getMessageConverterForAllRegistered(); }
Example 5
Source File: KafkaStreamsBinderSupportAutoConfiguration.java From spring-cloud-stream-binder-kafka with Apache License 2.0 | 4 votes |
@Bean public MessageConverterDelegateSerde messageConverterDelegateSerde( @Qualifier(IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) CompositeMessageConverter compositeMessageConverterFactory) { return new MessageConverterDelegateSerde(compositeMessageConverterFactory); }
Example 6
Source File: KafkaStreamsBinderSupportAutoConfiguration.java From spring-cloud-stream-binder-kafka with Apache License 2.0 | 4 votes |
@Bean public CompositeNonNativeSerde compositeNonNativeSerde( @Qualifier(IntegrationContextUtils.ARGUMENT_RESOLVER_MESSAGE_CONVERTER_BEAN_NAME) CompositeMessageConverter compositeMessageConverterFactory) { return new CompositeNonNativeSerde(compositeMessageConverterFactory); }