Hi ,
Spring integration is a great tool and we have been using it only recently. Kudos to that!
One question or rather requirement, do we have any generic configuration based object to object transformer available? Again, I am not sure of the feasibility but would be good to have something like this:
And this could probably be extended to the STS integration graph that could be used to load both the classes in memory to show a mapping diagram where a user could link the fields from the source to the target just by clicking and dragging.Code:<int:object-mapper source-class="com.abc.Test1" target-class="com.abc.Test2"> <int:parameter source-field="aTest1" target-field="bTest1" expression="#this.toUpperCase()" /> <int:parameter source-field="aTest1" target-field="bTest1" strategy-ref="someClass" strategy-method="someMethod" /> </int:object-mapper>
It could also provide for looping for collection objects using javascript or any other such languages.
Again, apologize if this is far fetched.
Thanks,
Anoop


.
Reply With Quote
