class JmsConnectionFactoryConfigurer implements ApplicationListener<ContextRefreshedEvent> {

    @Override
    public void onApplicationEvent(final ContextRefreshedEvent event) {
        PropertyDTO properties = configurationAccess.getProperties();
        String brokerHost = properties.getBrokerHost();
        Integer brokerPort = properties.getBrokerPort();
        connectionFactory.setBrokerURL("tcp://" + brokerHost + ":" + brokerPort);
    }

}