@Factory
@Requires(property="micronaut.jms.activemq.artemis.enabled",
value="true")
public class ActiveMqArtemisConfiguration
extends java.lang.Object
JMSConnectionFactory based on the
properties provided by ActiveMqArtemisConfigurationProperties.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONNECTION_FACTORY_BEAN_NAME
Name of the ActiveMQ Artemis
ConnectionFactory bean. |
| Constructor and Description |
|---|
ActiveMqArtemisConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.ConnectionFactory |
activeMqArtemisConnectionFactory(ActiveMqArtemisConfigurationProperties config)
Generates a
JMSConnectionFactory bean in the application context. |
public static final java.lang.String CONNECTION_FACTORY_BEAN_NAME
ConnectionFactory bean.@JMSConnectionFactory(value="activeMqArtemisConnectionFactory") public javax.jms.ConnectionFactory activeMqArtemisConnectionFactory(ActiveMqArtemisConfigurationProperties config)
JMSConnectionFactory bean in the application context.
The bean is a ActiveMQJMSConnectionFactory configured with
properties from ActiveMqArtemisConfigurationProperties.
config - config settings for ActiveMQ ArtemisActiveMQJMSConnectionFactory defined by the config.