|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (21)
View Page History{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
JBI descriptor for the Petals' "petals-bc-filetransfer" component (File Transfer).
Originally created for the version 3 2.4 of the component.
-->
<jbi:jbi version="1.0"
xmlns:filetransfer="http://petals.ow2.org/components/filetransfer/version-32"
xmlns:gen0="http://petals.ow2.org/talend/" xmlns:generatedNs="http://petals.ow2.org/components/sql/version-1"
xmlns:generatedNs="http://petals.ow2.org/talend/"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Import a Service into Petals or Expose a Petals Service => use a BC. -->
<jbi:services binding-component="true">
<jbi:services binding-component="true">
<!-- Expose a Petals Service => consumes a Service. -->
<jbi:consumes
<jbi:consumes
interface-name="generatedNs:CommandsCollectorServicePortType" interface-name="generatedNs:SqlInterface"
service-name="generatedNs:CommandsCollectorService" service-name="generatedNs:DemandeProgrammation"
endpoint-name="CommandsCollectorEndpoint"> endpoint-name="DemandeProgrammationEndpoint">
<!-- CDK specific elements -->
<petalsCDK:timeout>30000</petalsCDK:timeout>
<petalsCDK:timeout>30000</petalsCDK:timeout>
<petalsCDK:operation>gen0:executeJobOnly</petalsCDK:operation>
<petalsCDK:operation xmlns:insertNs="http://petals.ow2.org/components/sql/version-1">insertNs:insert</petalsCDK:operation>
<petalsCDK:mep>InOnly</petalsCDK:mep>
<!-- Component specific elements -->
<filetransfer:read-directory>${DropInDirectory}</filetransfer:read-directory> <filetransfer:read-directory>C:\Users\Vincent\Desktop\Divers</filetransfer:read-directory>
<filetransfer:transfer-mode>content</filetransfer:transfer-mode>
<filetransfer:file-pattern>*.csv</filetransfer:file-pattern> <filetransfer:polling-period>1000</filetransfer:polling-period>
<filetransfer:polling-period>5000</filetransfer:polling-period>
<filetransfer:base-message>
<![CDATA[<tal:executeJob xmlns:tal="http://petals.ow2.org/talend/">
<tal:contexts />
<tal:in-attachments>
<tal:fileLocation>
<tal:fileContent>$attachment</tal:fileContent>
</tal:fileLocation>
</tal:in-attachments>
</tal:executeJob>]]>
</filetransfer:base-message>
<filetransfer:base-message>
<![CDATA[<tal:executeJob xmlns:tal="http://petals.ow2.org/talend/">
<tal:contexts />
<tal:in-attachments>
<tal:fileLocation>
<tal:fileContent>$attachment</tal:fileContent>
</tal:fileLocation>
</tal:in-attachments>
</tal:executeJob>]]>
</filetransfer:base-message>
</jbi:consumes>
</jbi:services>
</jbi:jbi>
</jbi:services>
</jbi:jbi>
{code}