Some examples from simple to complex to show how different scenarios can be expressed in IFL.
Arrows indicate the message exchange pattern such as in-only or in-out.
file "infile" file "outfile" route from "infile" to "outfile"
file "infile" file "outfile" route do from "infile" to "filter" to "outfile" end
file "infile" file "outfile" route do from "infile" to "filter" to "outfile" end
rss "myFeed"
jruby "filterFeed"
xmpp "notifyMe"
file "archive"
route do
from "myFeed"
to "filterFeed"
broadcast do
route to "notifyMe"
route to "archive"
end
end
Listed here for understanding and discussion purposes, these are not yet tested or supported
soap "SOAPEndpoint" bpel "RecPartnerLink" route do from "SOAPEndpoint" to "RecPartnerLink" endor alternate syntax
route from "SOAPEndpoint" to "RecPartnerLink"
route from "SOAPEndpoint" to "RecPartnerLink"
route do
from "SOAPEndpoint"
to "EERequestReploy"
to "RecPartnerLink"
end
or
route do
from "SOAPEndpoint"
to in:"EERequestReploy"
to "RecPartnerLink"
end
route do
from "SOAPEndpoint"
to in:"EERequestReploy" out:"EE2RequestReply"
to "RecPartnerLink"
end
route from "SOAPEndpoint" to "RecPartnerLink" route from "InvokePartnerLink1" to "EEServiceEndpoint" route from "InvokePartnerLink2" to "SOAPEndpoint2"
route do
from "SOAPEndpoint"
to in:"CICSRequestReply"
to in:"JDBCOneWay"
to HttpRequestReply"
end
For this the explicit operations support needs to be added.
route from "SOAPEndpoint.operation1" to "JDBCOneWay.updateCustomer" route from "SOAPEndpoint.operation2" to "JDBCOneWay.deleteCustomer" route from "SOAPEndpoint.operation3" to "JDBCOneWay.createCustomer" route from "SOAPEndpoint.operation4" to "JDBCOneWay.readCustomer"