Announcement Announcement Module
Collapse
No announcement yet.
ObjectToMapTransformer enhancement Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ObjectToMapTransformer enhancement

    Hello, Oleg.
    I tried to use ObjectToMapTransformer for my domain objects writing in Groovy.
    And I'd got
    Cyclic reference detected between: CachedClass - CachedClass
    It is because you don't ignore metaClass property from GroovyObject in
    org.springframework.integration.transformer.CycleD etector
    at the row of source code:
    PHP Code:
    if (propertyName.equals("class") && ignoreClassAttribute){
         continue; 
    // no need to process

    Should I open an issue in JIRA?

    Thank you,
    Artem Bilan

  • #2
    Sure.
    As you can see it is already designed to be configurable via 'defaultIgnorePakages' of CycleDetector, while not yet exposed to the end user, so we should probably expose a setter to the end user so customization could be made for 2.1.

    Comment


    • #3

      I'm glad to see you!
      How is your weekend?
      Why do you work today?

      So, do I have to open an issue in JIRA, if you already plan to make the end user strategy for transformation customization?

      Comment

      Working...
      X