added 'declare' option to producers/consumers configuration