Merge pull request #948 from mulesoft/MULE-7502

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

(cherry picked from commit ad6798f6120c852a255e0f72400e3784f90eae7e)