99 lines
7.2 KiB
XML
99 lines
7.2 KiB
XML
<?xml version="1.0" encoding="euc-kr"?>
|
|
<process xmlns:bean="http://bean.boe.com/" xmlns:bpel="http://bpel.boe.com/" targetNamespace="http://bpel.boe.com/bpelj/" name="dispatching.bpel">
|
|
<partnerLinks>
|
|
<partnerLink name="bpelj" partnerLinkType="bpel:bpelj" />
|
|
<partnerLink name="BpelExecuter" partnerLinkType="bean:BpelExecuter" />
|
|
<partnerLink name="ESBService" partnerLinkType="bean:ESBService" />
|
|
</partnerLinks>
|
|
<variables>
|
|
<variable name="error" messageType="java.lang.Exception"></variable>
|
|
<variable name="lanuage" messageType="java.lang.String" expression="getXmlData('xml.Data', '//message/body/LANGUAGE')" />
|
|
<variable name="msg" messageType="java.lang.String" expression="getXmlData('xml.Data', '//message/header/messagename')" />
|
|
<variable name="replySubjectName" messageType="java.lang.String" expression="getXmlData('xml.Data', '//message/header/replysubjectname')" />
|
|
<variable name="sendSubjectName" messageType="java.lang.String"></variable>
|
|
<variable name="serverName" messageType="java.lang.String"></variable>
|
|
<variable name="xml.Data" messageType="org.jdom.Document"></variable>
|
|
</variables>
|
|
<sequence>
|
|
<receive name="dispatching{SEQ}0" bounds="264,30,140,75">
|
|
<input variable="xml.Data" type="org.jdom.Document" />
|
|
</receive>
|
|
<switch name="switch" bounds="318,135,33,33" type="switch">
|
|
<source idx="0" terminal="5,A" />
|
|
<switchstart name="switchstart" type="switchstart" bounds="279,214,110,49">
|
|
<source idx="0" terminal="5,A" />
|
|
</switchstart>
|
|
<case name="case" type="case" condition="getVariable('msg')='RequestUnixProcessState'" bounds="124,293,32,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<invoke name="BpelExecuter replyForEvisor" type="invokebean" description="public org.jdom.Document replyForEvisor(org.jdom.Document doc)" bounds="70,372,140,102" partnerLink="BpelExecuter" partnerLinkType="BpelExecuter" operation="replyForEvisor" operationDesc="public org.jdom.Document replyForEvisor(org.jdom.Document doc)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="xml.Data" type="org.jdom.Document" />
|
|
<output variable="xml.Data" />
|
|
</invoke>
|
|
<invoke name="ESBService sendBySender" type="invokebean" description="public void sendBySender(org.jdom.Document doc, String senderName)" bounds="68,504,144,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="sendBySender" operationDesc="public void sendBySender(org.jdom.Document doc, String senderName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="xml.Data" type="org.jdom.Document" />
|
|
<input constant="EvisorSender" type="java.lang.String" />
|
|
</invoke>
|
|
</case>
|
|
<case name="case" type="case" condition="getVariable('msg')='TerminateAfterManagement'" bounds="318,293,32,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<expression name="expression" type="expression" bounds="264,372,140,62">
|
|
<source idx="0" terminal="5,A" />
|
|
<function value="setVariable('serverName',getXmlData('xml.Data','//body/SERVERNAME'))" />
|
|
</expression>
|
|
<invoke name="BpelExecuter terminateAfterManagement" type="invokebean" description="public void terminateAfterManagement(String serverName)" bounds="248,464,172,102" partnerLink="BpelExecuter" partnerLinkType="BpelExecuter" operation="terminateAfterManagement" operationDesc="public void terminateAfterManagement(String serverName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="serverName" type="java.lang.String" />
|
|
</invoke>
|
|
</case>
|
|
<otherwise name="otherwise" type="otherwise" bounds="523,293,61,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<invoke name="ESBService getSendSubject" type="invokebean" description="public String getSendSubject(String serverName)" bounds="483,372,140,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="getSendSubject" operationDesc="public String getSendSubject(String serverName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input constant="AWXsvr" type="java.lang.String" />
|
|
<output variable="sendSubjectName" />
|
|
</invoke>
|
|
<invoke name=" send" type="invokebean" description="public void send(String subject, org.jdom.Document doc)" bounds="470,504,167,102" partnerLink="ESBService" partnerLinkType="ESBService" operation="send" operationDesc="public void send(String subject, org.jdom.Document doc)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="sendSubjectName" type="java.lang.String" />
|
|
<input variable="xml.Data" type="org.jdom.Document" />
|
|
</invoke>
|
|
</otherwise>
|
|
<switchend name="switchend" type="switchend" bounds="497,626,110,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<source idx="1" terminal="5,A" />
|
|
<source idx="2" terminal="5,A" />
|
|
</switchend>
|
|
</switch>
|
|
<switch name="switch" bounds="536,705,33,33" type="switch">
|
|
<source idx="0" terminal="5,A" />
|
|
<switchstart name="switchstart" type="switchstart" bounds="497,784,110,49">
|
|
<source idx="0" terminal="5,A" />
|
|
</switchstart>
|
|
<case name="case" type="case" condition="1 = 1" bounds="318,863,32,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<invoke name="BpelExecuter insertMessageLog" type="invokebean" description="public static void insertMessageLog(org.jdom.Document doc, java.lang.String serverName)" bounds="264,942,141,105" partnerLink="BpelExecuter" partnerLinkType="BpelExecuter" operation="insertMessageLog" operationDesc="public static void insertMessageLog(org.jdom.Document doc, java.lang.String serverName)" ignoreThrow="false" fork="false">
|
|
<source idx="0" terminal="5,A" />
|
|
<input variable="xml.Data" type="org.jdom.Document" />
|
|
<input constant="AWMsvr" type="java.lang.String" />
|
|
</invoke>
|
|
</case>
|
|
<otherwise name="otherwise" type="otherwise" bounds="727,863,88,19">
|
|
<source idx="0" terminal="5,A" />
|
|
<empty name="empty" bounds="701,912,141,65">
|
|
<source idx="0" terminal="5,A" />
|
|
</empty>
|
|
</otherwise>
|
|
<switchend name="switchend" type="switchend" bounds="497,1067,110,49">
|
|
<source idx="0" terminal="5,A" />
|
|
<source idx="1" terminal="5,A" />
|
|
</switchend>
|
|
</switch>
|
|
<terminate name="terminate" bounds="482,1146,140,62">
|
|
<source idx="0" terminal="5,A" />
|
|
</terminate>
|
|
</sequence>
|
|
</process>
|
|
|