jms factory fixed and added all features