Access Keys:
Skip to content (Access Key - 0)
community header community tab mule tab ibeans tab muleforge tab

Codel Transport

This project is to provide a transport to allow files to be registered with or checked against Codel, using their Codel Mark.

Configuration

Connector

The connector has the following properties:

Property Name Value
licensee An integer value which is the id of the Codel licensee.
licenseePassword A string value which is the Codel licensee's password.
originator A string value which is the originator's reference and can have any value.
timeout Connection timeout in milliseconds wen connecting to Codel.

Endpoint

The two possible URL formats are

codel://add<query flags>
codel://compare<query flags>
Property Name Value
licensee An integer value which is the id of the Codel licensee.
licenseePassword A string value which is the Codel licensee's password.
originator A string value which is the originator's reference and can have any value.

Example

    <connector name="codel" className="org.mule.providers.codel.CodelConnector">
        <properties>
            <property name="originator" value="MuleConnectorFunctionalTest"/>
        </properties>
    </connector>

    <model name="CodelConnectorTest">

        <mule-descriptor name="Test"
                         implementation="org.mule.components.simple.PassThroughComponent">
            <inbound-router>
                <endpoint address="file://${user.home}/codeltestdir123"/>
            </inbound-router>
            <outbound-router>
                <router className="org.mule.routing.outbound.ChainingRouter">
                    <endpoint address="codel://compare?licensee=153786905&licenseePassword=password"/>
                    <endpoint address="vm://checkResult"/>
                    <endpoint address="stream://System.out"/>
                </router>
            </outbound-router>
        </mule-descriptor>

        <mule-descriptor name="Check Result" implementation="org.mule.providers.codel.CompareResultTestService"
                         inboundEndpoint="vm://checkResult"/>

    </model>
Adaptavist Theme Builder (3.3.3-conf210) Powered by Atlassian Confluence 2.10, the Enterprise Wiki.
Free theme builder license