@Configuration @ConditionalOnClass(value={javax.jms.ConnectionFactory.class,org.hornetq.api.jms.HornetQJMSClient.class}) @EnableConfigurationProperties(value=HornetQProperties.class) public class HornetQAutoConfiguration extends Object
Auto-configuration to integrate with an HornetQ broker. If the necessary classes are
present, embed the broker in the application by default. Otherwise, connect to a broker
available on the local machine with the default settings.HornetQProperties| Constructor and Description |
|---|
HornetQAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
jmsConnectionFactory()
Create the
ConnectionFactory to use if none is provided. |
@Bean @ConditionalOnMissingBean public javax.jms.ConnectionFactory jmsConnectionFactory()
ConnectionFactory to use if none is provided. If no
mode has been explicitly set, start an
embedded server unless it has been explicitly disabled, connect to a broker
available on the local machine with the default settings otherwise.Copyright © 2014 Pivotal Software, Inc.. All rights reserved.