<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Batch>
<core:processConnections xmlns:core="http://www.enactor.com/core" xmlns:ns10="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns4="http://www.w3.org/2005/08/addressing" xmlns:ns5="http://www.w3.org/2003/05/soap-envelope" xmlns:ns7="http://maven.apache.org/POM/4.0.0" xmlns:ns9="tools" xmlns:retail="http://www.enactor.com/retail" xmlns:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref" xmlns:tools="http://www.enactor.com/tools">
    <core:processConnectionsId>PosInitialisationConnections</core:processConnectionsId>
    <core:name>Pos Initialisation Connections</core:name>
    <core:connectedProcesses>
        <core:connectedApplication>
            <core:name>Mobile Pos Application</core:name>
            <core:processId>Pos</core:processId>
            <core:hostId>#{getConfigValue('DeviceType.MobilePos','MOBILE_POS')}</core:hostId>
            <core:connectedApplicationProcessMetaData>
                <core:inputs>
                    <core:input></core:input>
                </core:inputs>
                <core:outputs>
                    <core:output>RecoverTransactionAndSequenceNumber</core:output>
                </core:outputs>
            </core:connectedApplicationProcessMetaData>
            <core:uiSettings xsi:type="tools:ConnectedProcessEditorSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <core:constraint xsi:type="core:UIPositionConstraint">
                    <core:x>231</core:x>
                    <core:y>300</core:y>
                </core:constraint>
                <tools:displayedSections>
                    <item>OUTPUTS</item>
                </tools:displayedSections>
            </core:uiSettings>
        </core:connectedApplication>
        <core:connectedApplication>
            <core:name>Pos Application</core:name>
            <core:processId>Pos</core:processId>
            <core:hostId>#{getConfigValue('DeviceType.POS','POS')}</core:hostId>
            <core:connectedApplicationProcessMetaData>
                <core:inputs>
                    <core:input></core:input>
                </core:inputs>
                <core:outputs>
                    <core:output>RecoverTransactionAndSequenceNumber</core:output>
                </core:outputs>
            </core:connectedApplicationProcessMetaData>
            <core:uiSettings xsi:type="tools:ConnectedProcessEditorSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <core:constraint xsi:type="core:UIPositionConstraint">
                    <core:x>236</core:x>
                    <core:y>459</core:y>
                </core:constraint>
                <tools:displayedSections>
                    <item>OUTPUTS</item>
                </tools:displayedSections>
            </core:uiSettings>
        </core:connectedApplication>
    </core:connectedProcesses>
    <core:connectionProviders>
        <core:restServiceConnection>
            <core:endpointReference xsi:type="core:restEndpoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <core:isDynamicEndpoint>true</core:isDynamicEndpoint>
                <core:url>${Server.EMWS.URL.Base}/WebRestApi/rest/pos/currentSequenceNumbers</core:url>
                <core:httpMethod>GET</core:httpMethod>
                <core:queryParams>
                    <core:param value="#{sourceDeviceId}" required="false" name="source">
                        <core:interfaceName>java.lang.String</core:interfaceName>
                    </core:param>
                    <core:param value="#{sourceApplication}" required="false" name="application">
                        <core:interfaceName>java.lang.String</core:interfaceName>
                    </core:param>
                    <core:param value="#{sourceTopic}" required="false" name="topic">
                        <core:interfaceName>java.lang.String</core:interfaceName>
                    </core:param>
                </core:queryParams>
                <core:headers/>
                <core:payloadFormat>JSON_CLASS</core:payloadFormat>
                <core:requestTransformParams/>
                <core:responseTransformParams/>
            </core:endpointReference>
            <core:connectionProviderId>RecoverTransactionAndSequenceNumberService</core:connectionProviderId>
            <core:name>Recover Transaction And Sequence Number Service</core:name>
        </core:restServiceConnection>
    </core:connectionProviders>
    <core:queues/>
    <core:webServiceGroups>
        <core:webServiceGroup>
            <core:name>Recover Transaction And Sequence Number Service</core:name>
            <core:processId>RecoverTransactionAndSequenceNumberService</core:processId>
            <core:webServiceGroupMetaData>
                <core:connectionProviders>
                    <core:provider>RecoverTransactionAndSequenceNumberService</core:provider>
                </core:connectionProviders>
            </core:webServiceGroupMetaData>
            <core:uiSettings xsi:type="core:UIEditorSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <core:constraint xsi:type="core:UIPositionConstraint">
                    <core:x>623</core:x>
                    <core:y>296</core:y>
                </core:constraint>
            </core:uiSettings>
        </core:webServiceGroup>
    </core:webServiceGroups>
    <core:connections>
        <core:processConnection>
            <core:connectionId>Pos-#{getConfigValue('DeviceType.MobilePos','MOBILE_POS')}-1</core:connectionId>
            <core:fromId>Pos</core:fromId>
            <core:fromHostId>#{getConfigValue('DeviceType.MobilePos','MOBILE_POS')}</core:fromHostId>
            <core:fromOutputId>RecoverTransactionAndSequenceNumber</core:fromOutputId>
            <core:fromType>PROCESS</core:fromType>
            <core:toId>RecoverTransactionAndSequenceNumberService</core:toId>
            <core:toType>SERVICE</core:toType>
            <core:providerId>RecoverTransactionAndSequenceNumberService</core:providerId>
        </core:processConnection>
        <core:processConnection>
            <core:connectionId>Pos-#{getConfigValue('DeviceType.POS','POS')}-2</core:connectionId>
            <core:fromId>Pos</core:fromId>
            <core:fromHostId>#{getConfigValue('DeviceType.POS','POS')}</core:fromHostId>
            <core:fromOutputId>RecoverTransactionAndSequenceNumber</core:fromOutputId>
            <core:fromType>PROCESS</core:fromType>
            <core:toId>RecoverTransactionAndSequenceNumberService</core:toId>
            <core:toType>SERVICE</core:toType>
            <core:providerId>RecoverTransactionAndSequenceNumberService</core:providerId>
        </core:processConnection>
    </core:connections>
    <core:parameters/>
</core:processConnections>
</Batch>