mulesoft/mule-devkit — Issue #56: [NEW FEATURE] Add option for all methods to return maps 
Author: federecio
Created: 2011-12-10 18:11:50+00:00
State: open

Returning maps instead of custom objects might be easier to work with in some cases.

A possible approach may be to automatically create a configuration attribute like "returnMaps" in the config element that would make all non-void methods to convert their return objects to maps. Note that this should NOT imply any change to existing @ Processor methods return types since all the work should be done in the message processor.