Add getQueue() method to bean. Fix #6