@Test public void testOnApplicationEvent() { given(configurationAccess.getProperties()).willReturn(properties); given(properties.getBrokerHost()).willReturn("blah"); given(properties.getBrokerPort()).willReturn(16161); underTest.onApplicationEvent(event); verify(connectionFactory).setBrokerURL("tcp: }
@Override public void onApplicationEvent(final ContextRefreshedEvent event) { PropertyDTO properties = configurationAccess.getProperties(); String brokerHost = properties.getBrokerHost(); Integer brokerPort = properties.getBrokerPort(); connectionFactory.setBrokerURL("tcp: }
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: } }
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: }  }
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: }  @Override void onApplicationEvent(final ContextRefreshedEvent event); }
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: }  @Override void onApplicationEvent(final ContextRefreshedEvent event);  }