diff options
Diffstat (limited to 'ajsc-aai/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml')
-rw-r--r-- | ajsc-aai/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/ajsc-aai/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml b/ajsc-aai/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml new file mode 100644 index 0000000..6ce0d42 --- /dev/null +++ b/ajsc-aai/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml @@ -0,0 +1,95 @@ +<?xml version="1.0" encoding="UTF-8"?> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:cxf="http://cxf.apache.org/core" + xmlns:jms="http://www.springframework.org/schema/jms" + xmlns:task="http://www.springframework.org/schema/task" + xmlns:context="http://www.springframework.org/schema/context" + xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd + http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd + http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms.xsd + http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd"> + + <!-- Your bean definitions goes here --> + <!-- <bean id="performanceLog" name="performanceLog" class="com.att.ajsc.csi.logging.PerformanceTracking" + /> --> + <!-- <bean id="processRestletHeaders" name="processRestletHeaders" class="ajsc.restlet.ProcessRestletHeaders" + /> --> + <bean id="servicePropsBean" name="servicePropsBean" + class="org.openecomp.aai.ajsc_aai.util.ServicePropertiesMapBean" /> + <bean id="jsonProvider" class="org.openecomp.aai.rest.CustomJacksonJaxBJsonProvider" /> + + <bean id="inInterceptor" class="org.openecomp.aai.interceptors.AAILogJAXRSInInterceptor" /> + <bean id="outInterceptor" class="org.openecomp.aai.interceptors.AAILogJAXRSOutInterceptor" /> + <cxf:bus bus="cxfBus"> + <cxf:inInterceptors> + <ref bean="inInterceptor" /> + </cxf:inInterceptors> + <cxf:outInterceptors> + <ref bean="outInterceptor" /> + </cxf:outInterceptors> + </cxf:bus> + <context:component-scan base-package="org.openecomp.aai.tasks" /> + + <task:scheduler id="taskScheduler" pool-size="10" /> + <task:executor id="taskExecutor" pool-size="10" + queue-capacity="5" /> + <task:annotation-driven executor="taskExecutor" + scheduler="taskScheduler" /> + +<!-- <bean id="jmsProperties" --> +<!-- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" --> +<!-- name="jmsProperties"> --> +<!-- <property name="order" value="99999" /> --> +<!-- <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" /> --> +<!-- <property name="ignoreUnresolvablePlaceholders" value="true" /> --> +<!-- <property name="properties"> --> +<!-- <value> --> + +<!-- JMS --> +<!-- JMS.BROKER.URL=tcp://localhost:61616 --> +<!-- JMS.QUEUE.NAME=IN_QUEUE --> + +<!-- </value> --> +<!-- </property> --> +<!-- </bean> --> + + <!-- ActiveMQ connection factory --> +<!-- <bean id="amqConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory"> --> +<!-- <constructor-arg index="0" value="${JMS.BROKER.URL}" /> --> +<!-- </bean> --> + + <!-- ConnectionFactory Definition --> +<!-- <bean id="connectionFactory" --> +<!-- class="org.springframework.jms.connection.CachingConnectionFactory"> --> +<!-- <constructor-arg ref="amqConnectionFactory" /> --> +<!-- </bean> --> + + <!-- Destination Queue --> +<!-- <bean id="destinationQueue" class="org.apache.activemq.command.ActiveMQQueue"> --> +<!-- <constructor-arg index="0" value="${JMS.QUEUE.NAME}" /> --> +<!-- </bean> --> + + <!-- JmsTemplate Definition --> +<!-- <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate"> --> +<!-- <property name="connectionFactory" ref="connectionFactory" /> --> +<!-- <property name="defaultDestination" ref="destinationQueue" /> --> +<!-- </bean> --> + + <!-- Message Producer --> +<!-- <bean id="messageProducer" class="org.openecomp.aai.dmaap.AAIDmaapEventJMSProducer" /> --> + + <!-- Message Consumer from Default Destination --> +<!-- <bean id="messageDefaultConsumer" class="org.openecomp.aai.dmaap.AAIDmaapEventJMSConsumer" /> --> + + <!-- Message Consumer Container for Default Destination --> +<!-- <bean --> +<!-- class="org.springframework.jms.listener.DefaultMessageListenerContainer"> --> +<!-- <property name="connectionFactory" ref="connectionFactory" /> --> +<!-- <property name="destinationName" value="${JMS.QUEUE.NAME}" /> --> +<!-- <property name="messageListener" ref="messageDefaultConsumer" /> --> +<!-- </bean> --> + + +</beans>
\ No newline at end of file |