mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
ACS-1253 Enable Camel JMX management (#295)
- enable Camel JMX management - disable JMS connection idle timeout - update ActiveMQ broker URLs to use NIO
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<bean id="pooledConnectionFactory" class="org.apache.activemq.pool.PooledConnectionFactory"
|
||||
init-method="start" destroy-method="stop">
|
||||
<property name="maxConnections" value="${messaging.broker.connections.max}" />
|
||||
<property name="createConnectionOnStartup" value="false"/>
|
||||
<property name="connectionFactory" ref="activeMqConnectionFactory" />
|
||||
</bean>
|
||||
|
||||
@@ -85,7 +86,7 @@
|
||||
|
||||
<camelContext id="alfrescoCamelContext" xmlns="http://camel.apache.org/schema/spring" useBreadcrumb="true">
|
||||
<contextScan/>
|
||||
<camel:jmxAgent id="agent" mbeanObjectDomainName="Alfresco.Camel" />
|
||||
<jmxAgent id="agent" mbeanObjectDomainName="Alfresco.Camel" />
|
||||
<template id="camelProducerTemplate" defaultEndpoint="direct:alfresco.default" />
|
||||
</camelContext>
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
# External failover broker at tcp://localhost
|
||||
messaging.broker.url=failover:(tcp://localhost:61616)?timeout=3000&jms.useCompression=true
|
||||
# External failover broker at nio://localhost ("nio" = "tcp" through the java.nio API)
|
||||
messaging.broker.url=failover:(nio://localhost:61616)?timeout=3000&jms.useCompression=true
|
||||
messaging.broker.ssl=false
|
||||
messaging.broker.username=
|
||||
messaging.broker.password=
|
||||
|
Reference in New Issue
Block a user