Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1307

Registration of custom converters

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Apologies if this is already recorded but I would have saved a lot of time from #820 if I had not needed to implement a custom redisCustomConversions and instead been able to inject this with my code and added to it at run-time.

      I spotted the @ReadingConverter annotation and without reading any further expected this to be scanned for and included. Then, realised no such magic occurred and still further realised there was no redisCustomConversions for autowiring (according to IntelliJ, at least) and thus a full bean override was needed.

      The JMS integration works with a bunch of message converters, perhaps the Redis side could adopt the same or use this as the basis?

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            jgreen James Green
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: