Example showing how the embedded broker can be used