private MessagePublisher publisher;
private SingleConnectionFactory connectionFactory;
@Before
public void before() throws Exception {
brokerSetup = new TestBrokerSetup();
connectionFactory = new SingleConnectionFactory();
connectionFactory.setHost(brokerSetup.getHost());
connectionFactory.setPort(brokerSetup.getPort());
publisher = new SimplePublisher(connectionFactory);