Removed rederences to JMS in shared classes.

Change-Id: Ib88d62a242f2e0dcab4589f6458acf10bd5626d2