Ensures qpid and rabbitmq are correctly conditionalized for 2 outputs.

fix bug 1176153

Change-Id: I96e83cd78ac18a20710e6af2f14c46c2da49eec6
Merge "Ensures qpid and rabbitmq are correctly conditionalized for 2 outputs."