Class ArtemisAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.jms.artemis.ArtemisAutoConfiguration

@AutoConfiguration(before=JmsAutoConfiguration.class, after=JndiConnectionFactoryAutoConfiguration.class) @ConditionalOnClass({jakarta.jms.ConnectionFactory.class,org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.class}) @ConditionalOnMissingBean(jakarta.jms.ConnectionFactory.class) @EnableConfigurationProperties({ArtemisProperties.class,JmsProperties.class}) @Import({org.springframework.boot.autoconfigure.jms.artemis.ArtemisEmbeddedServerConfiguration.class,org.springframework.boot.autoconfigure.jms.artemis.ArtemisXAConnectionFactoryConfiguration.class,org.springframework.boot.autoconfigure.jms.artemis.ArtemisConnectionFactoryConfiguration.class}) public class ArtemisAutoConfiguration extends Object
Auto-configuration to integrate with an Artemis 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.
Since:
1.3.0
Author:
EddĂș MelĂ©ndez, Stephane Nicoll
See Also:
  • Constructor Details

    • ArtemisAutoConfiguration

      public ArtemisAutoConfiguration()