moved bean declaration from integration xml to application config class.