Enhancement jms refactoring

JMS enhancement using xstream api