Class LegacyJackson2MessageConverterMigration

java.lang.Object
io.awspring.cloud.sqs.support.converter.legacy.LegacyJackson2MessageConverterMigration
All Implemented Interfaces:
JacksonMessageConverterMigration

@Deprecated(forRemoval=true) public class LegacyJackson2MessageConverterMigration extends Object implements JacksonMessageConverterMigration
Deprecated, for removal: This API element is subject to removal in a future version.
Internal, migration-only implementation for the Jackson 2 variant.

This type is transitional and will be removed after the Jackson 3 migration is complete.

Since:
4.0.0
Author:
Matej Nedic
  • Constructor Details

    • LegacyJackson2MessageConverterMigration

      public LegacyJackson2MessageConverterMigration(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getObjectMapper

      public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setObjectMapper

      public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createMigrationMessageConverter

      public MessageConverter createMigrationMessageConverter()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      createMigrationMessageConverter in interface JacksonMessageConverterMigration
      Returns:
      the migration MessageConverter
    • addJacksonMigrationResolvers

      public void addJacksonMigrationResolvers(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      addJacksonMigrationResolvers in interface JacksonMessageConverterMigration
      Parameters:
      argumentResolvers - list to add migration resolvers to
      messageConverter - migration MessageConverter to be used by those resolvers
    • configureLegacyObjectMapper

      public void configureLegacyObjectMapper(MessagingMessageConverter messageConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      configureLegacyObjectMapper in interface JacksonMessageConverterMigration
      Parameters:
      messageConverter - converter to configure as part of the legacy migration path
    • enrichResolversDefault

      public static void enrichResolversDefault(List<HandlerMethodArgumentResolver> argumentResolvers, MessageConverter messageConverter)
      Deprecated, for removal: This API element is subject to removal in a future version.