| # artemis connection factory |
| camel.beans.artemisCF = #class:org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory |
| # URL for broker |
| camel.beans.artemisCF.brokerURL = tcp://localhost:61616 |
| |
| # if broker requires specific login |
| camel.beans.artemisCF.user = artemis |
| camel.beans.artemisCF.password = artemis |
| |
| # pooled connection factory |
| camel.beans.poolCF = #class:org.messaginghub.pooled.jms.JmsPoolConnectionFactory |
| camel.beans.poolCF.connectionFactory = #bean:artemisCF |
| camel.beans.poolCF.maxSessionsPerConnection = 500 |
| camel.beans.poolCF.connectionIdleTimeout = 20000 |
| # more options can be configured |
| # https://github.com/messaginghub/pooled-jms/blob/main/pooled-jms-docs/Configuration.md |
| |
| # setup JMS component to use connection factory |
| camel.component.jms.connection-factory = #bean:poolCF |
| |
| camel.jbang.classpathFiles=application.properties |