126 lines
6.9 KiB
Plaintext
126 lines
6.9 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
|
<mule-configuration xmlns="http://www.mulesoft.com/tooling/messageflow" name="jdbc">
|
||
|
<global-element name="Bean" type="http://www.springframework.org/schema/beans/bean" entity-id="6ac5b5fa-944e-4966-baad-1dbd8dcbb751">
|
||
|
<properties>
|
||
|
<property name="id" value="dataSource"/>
|
||
|
<property name="name" value="dataSource"/>
|
||
|
<property name="class" value="org.enhydra.jdbc.standard.StandardDataSource"/>
|
||
|
<property name="parent"/>
|
||
|
<property name="scope"/>
|
||
|
<property name="children"/>
|
||
|
<property name="abstract"/>
|
||
|
<property name="lazy-init"/>
|
||
|
<property name="autowire"/>
|
||
|
<property name="depends-on"/>
|
||
|
<property name="autowire-candidate"/>
|
||
|
<property name="primary"/>
|
||
|
<property name="init-method"/>
|
||
|
<property name="destroy-method" value="shutdown"/>
|
||
|
<property name="factory-method"/>
|
||
|
<property name="factory-bean"/>
|
||
|
<property-collection name="@http://www.springframework.org/schema/beans/property;0">
|
||
|
<property name="name" value="driverName"/>
|
||
|
<property name="value" value="org.hsqldb.jdbcDriver"/>
|
||
|
</property-collection>
|
||
|
<property-collection name="@http://www.springframework.org/schema/beans/property;1">
|
||
|
<property name="name" value="url"/>
|
||
|
<property name="value" value="jdbc:hsqldb:hsql://localhost/xdb"/>
|
||
|
</property-collection>
|
||
|
<property-collection name="@http://www.springframework.org/schema/beans/property;2">
|
||
|
<property name="name" value="user"/>
|
||
|
<property name="value" value="sa"/>
|
||
|
</property-collection>
|
||
|
</properties>
|
||
|
</global-element>
|
||
|
<global-element name="Database (JDBC)" type="http://www.mulesoft.org/schema/mule/jdbc/connector" entity-id="e396de13-33cf-481e-9fae-b38537dbb900">
|
||
|
<properties>
|
||
|
<property name="d" value=""/>
|
||
|
<property name="resultSetHandler-ref" value=""/>
|
||
|
<property name="customReconnection" value="false"/>
|
||
|
<property name="dataSource-ref to Bean" value="dataSource"/>
|
||
|
<property name="standardReconnection" value="false"/>
|
||
|
<property name="pollingFrequency" value="0"/>
|
||
|
<property name="queryTimeout" value="-1"/>
|
||
|
<property name="validateConnections" value="true"/>
|
||
|
<property name="noReconnection" value="true"/>
|
||
|
<property name="dispatcherPoolFactory-ref" value=""/>
|
||
|
<property name="transactionPerMessage" value="false"/>
|
||
|
<property name="blocking" value="true"/>
|
||
|
<property name="name" value="Database__JDBC_"/>
|
||
|
<property name="dynamicNotification" value="false"/>
|
||
|
<property name="queryRunner-ref" value=""/>
|
||
|
<property-collection name="">
|
||
|
<property name="d" value=""/>
|
||
|
<property name="blocking" value="true"/>
|
||
|
<property name="customReconnection" value="false"/>
|
||
|
<property name="standardReconnection" value="false"/>
|
||
|
<property name="noReconnection" value="true"/>
|
||
|
</property-collection>
|
||
|
</properties>
|
||
|
<description></description>
|
||
|
</global-element>
|
||
|
<flow SubFlow="false" name="jdbcFlow1">
|
||
|
<properties>
|
||
|
<property name="processingStrategy2"/>
|
||
|
<property name="processingStrategy"/>
|
||
|
<property name="bussinessEventsLabel"/>
|
||
|
<property name="tracking:enable-default-events"/>
|
||
|
</properties>
|
||
|
<lane hadOnlyOneElement="false" entity-id="856acb42-474c-4785-b369-b708228a6f4d">
|
||
|
<endpoint direction="Inbound" message-exchange-pattern="OneWay" name="File" type="http://www.mulesoft.org/schema/mule/file/endpoint" entity-id="230b0f92-c6bd-49a4-8212-7f7d9e0a5348">
|
||
|
<properties>
|
||
|
<property name="exchange-pattern" value="one-way"/>
|
||
|
<property name="path" value="/tmp/in"/>
|
||
|
<property name="outputPattern"/>
|
||
|
<property name="moveToPattern"/>
|
||
|
<property name="moveToDirectory"/>
|
||
|
<property name="pollingFrequency"/>
|
||
|
<property name="fileAge"/>
|
||
|
<property name="businessEventsLabel"/>
|
||
|
<property name="tracking:enable-default-events"/>
|
||
|
<property name="address"/>
|
||
|
<property name="responseTimeout" value="10000"/>
|
||
|
<property name="encoding"/>
|
||
|
<property name="disableTransportTransformer"/>
|
||
|
<property name="mimeType"/>
|
||
|
<property name="comparator"/>
|
||
|
<property name="reverseOrder"/>
|
||
|
<property name="connector-ref"/>
|
||
|
<property name="ref"/>
|
||
|
<property name="transformer-refs"/>
|
||
|
</properties>
|
||
|
</endpoint>
|
||
|
<pattern name="XML to Object" type="http://www.mulesoft.org/schema/mule/xml/xml-to-object-transformer" entity-id="e3f07f86-2eea-4e2b-a33e-68c0bbc6a434">
|
||
|
<properties>
|
||
|
<property name="returnClass"/>
|
||
|
<property name="ignoreBadInput"/>
|
||
|
<property name="encoding"/>
|
||
|
<property name="mimeType"/>
|
||
|
<property name="driverClass"/>
|
||
|
</properties>
|
||
|
</pattern>
|
||
|
<endpoint direction="Outbound" message-exchange-pattern="OneWay" name="Database (JDBC)" type="http://www.mulesoft.org/schema/mule/jdbc/endpoint" entity-id="c4b3fc80-c025-418e-b441-538fa0e15119">
|
||
|
<properties>
|
||
|
<property name="ref" value=""/>
|
||
|
<property name="transformer-refs" value=""/>
|
||
|
<property name="address" value=""/>
|
||
|
<property name="queryTimeout" value="-1"/>
|
||
|
<property name="encoding" value=""/>
|
||
|
<property name="disableTransportTransformer" value="false"/>
|
||
|
<property name="mimeType" value=""/>
|
||
|
<property name="responseTimeout" value=""/>
|
||
|
<property name="queryKey" value="insertion"/>
|
||
|
<property name="exchange-pattern" value="one-way"/>
|
||
|
<property name="connector-ref" value="Database__JDBC_"/>
|
||
|
<property-collection name="@http://www.mulesoft.org/schema/mule/jdbc/query;1">
|
||
|
<property name="value" value="insert into accounts values (#[payload.nom], #[payload.prenom], #[payload.email]);"/>
|
||
|
<property name="key" value="insertion"/>
|
||
|
</property-collection>
|
||
|
</properties>
|
||
|
<description></description>
|
||
|
</endpoint>
|
||
|
</lane>
|
||
|
</flow>
|
||
|
<description></description>
|
||
|
</mule-configuration>
|