如何在配置后从XML下面移到YML文件? 在我的代码中,我已经有了YML文件来配置其他spring boot东西,但是我无法移到那里。
<int-jdbc:inbound-channel-adapter
channel="dataChannel"
query="...omissis..."
update="...omissis..."
update-per-row="true"
data-source="dataSource"
/>
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
<property name="url" value="...omissis..." />
<property name="username" value="usr1" />
<property name="password" value="pwd1" />
</bean>
<int:channel id="dataChannel">
<int:queue />
</int:channel>
<int:poller default="true" fixed-rate="20000" task-executor="taskExecutor"/>