2.0重构版本
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
2.1 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
  4. xmlns:aop="http://www.springframework.org/schema/aop" xmlns:lang="http://www.springframework.org/schema/lang"
  5. xmlns:context="http://www.springframework.org/schema/context"
  6. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  7. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
  8. http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd
  9. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
  10. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"
  11. default-autowire="byName">
  12. <!-- properties -->
  13. <bean class="com.alibaba.otter.canal.instance.spring.support.PropertyPlaceholderConfigurer" lazy-init="false">
  14. <property name="ignoreResourceNotFound" value="true" />
  15. <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/><!-- 允许system覆盖 -->
  16. <property name="locationNames">
  17. <list>
  18. <value>classpath:canal.properties</value>
  19. <value>classpath:${canal.instance.destination:}/instance.properties</value>
  20. </list>
  21. </property>
  22. </bean>
  23. <bean id="socketAddressEditor" class="com.alibaba.otter.canal.instance.spring.support.SocketAddressEditor" />
  24. <bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
  25. <property name="propertyEditorRegistrars">
  26. <list>
  27. <ref bean="socketAddressEditor" />
  28. </list>
  29. </property>
  30. </bean>
  31. <bean id="baseEventParser" class="com.alibaba.otter.canal.parse.inbound.mysql.rds.RdsBinlogEventParserProxy" abstract="true">
  32. <property name="accesskey" value="${canal.aliyun.accesskey:}" />
  33. <property name="secretkey" value="${canal.aliyun.secretkey:}" />
  34. <property name="instanceId" value="${canal.instance.rds.instanceId:}" />
  35. </bean>
  36. </beans>