added APIs of HornetQ