Minor Fix

Modified onJMSMessage to be static