Class ActiveMqArtemisConfiguration
java.lang.Object
io.micronaut.jms.activemq.artemis.configuration.ActiveMqArtemisConfiguration
@Factory
@Requires(property="micronaut.jms.activemq.artemis.enabled",
value="true")
public class ActiveMqArtemisConfiguration
extends Object
Generates the ActiveMQ Artemis
JMSConnectionFactory
based on the
properties provided by ActiveMqArtemisConfigurationProperties
.- Since:
- 1.0.0
- Author:
- Burt Beckwith
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Name of the ActiveMQ ArtemisConnectionFactory
bean. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.jms.ConnectionFactory
Generates aJMSConnectionFactory
bean in the application context.
-
Field Details
-
CONNECTION_FACTORY_BEAN_NAME
Name of the ActiveMQ ArtemisConnectionFactory
bean.- See Also:
-
-
Constructor Details
-
ActiveMqArtemisConfiguration
public ActiveMqArtemisConfiguration()
-
-
Method Details
-
activeMqArtemisConnectionFactory
@JMSConnectionFactory("activeMqArtemisConnectionFactory") public javax.jms.ConnectionFactory activeMqArtemisConnectionFactory(ActiveMqArtemisConfigurationProperties config) Generates aJMSConnectionFactory
bean in the application context.The bean is a
ActiveMQJMSConnectionFactory
configured with properties fromActiveMqArtemisConfigurationProperties
.- Parameters:
config
- config settings for ActiveMQ Artemis- Returns:
- the
ActiveMQJMSConnectionFactory
defined by theconfig
.
-