<import resource="classpath:org/argeo/slc/activemq/destinations.xml" />
- <!-- Attachments -->
+ <bean
+ class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
+ <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
+ <property name="locations">
+ <value>osgibundle:jms.properties</value>
+ </property>
+ </bean>
+ <!-- Attachments -->
<bean id="attachmentStorage.jmsContainer.add" parent="listenerContainer">
<property name="destination" ref="slcJms.destination.attachment.add" />
<property name="messageListener">
-->
<bean class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL">
- <value>vm://localhost</value>
- </property>
+ <value>${slc.server.jms.url}</value>
+ <!--<value>vm://localhost</value>
+ --></property>
</bean>
</property>
<property name="eventsDestination" ref="slcJms.destination.events" />
<!--
<property name="transactionManager" ref="jmsTransactionManager" />
-->
+ <property name="taskExecutor">
+ <bean class="org.argeo.security.core.SystemAuthenticatedTaskExecutor">
+ <property name="securityService" ref="securityService" />
+ </bean>
+ </property>
</bean>
<bean id="listenerAdapterCastor"