add handlers to set producer and consumers

Link: https://github.com/GeneAssembly/biosal/issues/510
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>