handle broker choice
add broker-message handling