Project: mule
Issue MULE-8478: It should not be mandatory for a class annotated with @Operation to depend on the config object
Right now, when a class contains methods annotated with @Operation, then it is demanded that a single constructor is available to create the instance and pass the configuration instance over. However, not in all cases the operations in a class require of the configuration. The behaviour should be that if such constructor exists then it's used. If it doesn't, then a default constructor is used to create a config-less operation instance. Only if no constructor is found which matches both criterias should an exception be thrown.
Story points: 5