Merge pull request #948 from mulesoft/MULE-7502

MULE-7502 - restoring constructor for backward compatibility and reverti...
(cherry picked from commit 360c8172ef24f64d5526f06a72e5f3b9265b2dd8)