configuring JMS Producer throws unexpected object of type class error