https://issues.jboss.org/browse/HORNETQ-1163 - fixing api compatility issue after HORNETQ-1163 - no semantic changes here, just making sure one-off would still work