Added an alternative implementation of WINDUP-147

https://issues.jboss.org/browse/WINDUP-147