MULE-7655 Eliminate use of System.getProperty during message processing

repeated code. Just saw this above... Extract to utils class