XML configuration example

Improve your IAF skills!




Build adapters using XML configuration. Build application using adapters.

Ibis AdapterFramework

Small XML configuration example which defines an adapter:

<adapter name="HelloWorld" description="Little example">
    <receiver className="nl.nn.adapterframework.receivers.GenericReceiver" name="HelloWorld">
        <listener className="nl.nn.adapterframework.receivers.JavaListener" name="HelloWorld"/>
    </receiver>
    <pipeline firstPipe="HelloWorld">
        <exits>
            <exit path="EXIT" state="success"/>
        </exits>
        <pipe name="HelloWorld" className="nl.nn.adapterframework.pipes.FixedResult" returnString="Hello World">
            <forward name="success" path="EXIT"/>
        </pipe>
    </pipeline>
</adapter>