Interface JacksonMessageConverterMigration
- All Known Implementing Classes:
JacksonJsonMessageConverterMigration,LegacyJackson2MessageConverterMigration
Deprecated, for removal: This API element is subject to removal in a future version.
Internal, migration-only temporary contract used by the framework to bridge Jackson 2 and Jackson 3.
This type is transitional and will be removed after the Jackson 3 migration is complete. It is internal wiring and implementations are not supported outside the migration.
To customize payload conversion, provide a MessagingMessageConverter (such as
SqsMessagingMessageConverter) bean. To customize listener method
argument resolvers, use SqsListenerConfigurer.
- Since:
- 4.0.0
- Author:
- Matej Nedic
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddJacksonMigrationResolvers(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.default voidconfigureLegacyObjectMapper(MessagingMessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
createMigrationMessageConverter
MessageConverter createMigrationMessageConverter()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the migration
MessageConverter
-
addJacksonMigrationResolvers
void addJacksonMigrationResolvers(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter) Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
argumentResolvers- list to add migration resolvers tomessageConverter- migrationMessageConverterto be used by those resolvers
-
configureLegacyObjectMapper
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
messageConverter- converter to configure as part of the legacy migration path
-