Updates to messaging benchmark to run only as consumer or producer