A confirmed publisher sends messages to a broker and waits for a confirmation that the message was received by the broker.
46474849505152
eventControl = container.event(); eventBinder = instancePool.select(TestEventBinder.class).get(); ConnectionFactory connectionFactory = instancePool.select(ConnectionFactory.class).get(); connectionFactory.setHost(brokerSetup.getHost()); connectionFactory.setPort(brokerSetup.getPort()); publisher = new ConfirmedPublisher(connectionFactory); }