mulesoft/mule-devkit — Issue #104: Need @AcceptsPayload to generate Studio metadata
Author: marianocapurro
Created: 2012-02-16 11:13:47+00:00
State: open
Labels: ENHANCEMENT

Base on new requirements for usability, we need a way to identify arguments in a ```@Processor``` that can be candidates to receive a Mule ESB payload. In most cases these will be the List of Maps that represent a ZObject or SObject for example.
With that, the generated Studio XML, should contain a ```acceptsPayload="true"``` for that element, that can be used by the Studio framework to generate a better User Experience.

Some comments:
* ```@AcceptsPayload``` is just a recommendation, we can use any other better name for it
* This is an optional annotation. If not present, then that means that the Processor has no obvious argument that's a candidate to accept the Payload
* This annotation doesn't change the processor functionality. It is just to generate Studio metadata