jms works on tibcoAdmin
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<pd:starter name="HTTP Receiver">
|
||||
<pd:type>com.tibco.plugin.http.HTTPEventSource</pd:type>
|
||||
<pd:resourceType>httppalette.httpEventSource</pd:resourceType>
|
||||
<pd:x>112</pd:x>
|
||||
<pd:y>349</pd:y>
|
||||
<pd:x>102</pd:x>
|
||||
<pd:y>345</pd:y>
|
||||
<config>
|
||||
<outputMode>String</outputMode>
|
||||
<defaultEncoding>ISO8859_1</defaultEncoding>
|
||||
@@ -38,7 +38,7 @@
|
||||
</pd:starter>
|
||||
<pd:endName>End</pd:endName>
|
||||
<pd:endX>814</pd:endX>
|
||||
<pd:endY>350</pd:endY>
|
||||
<pd:endY>345</pd:endY>
|
||||
<pd:errorSchemas>
|
||||
<Schema0>
|
||||
<xsd:element name="root">
|
||||
@@ -52,62 +52,38 @@
|
||||
</pd:errorSchemas>
|
||||
<pd:processVariables/>
|
||||
<pd:targetNamespace>http://xmlns.example.com/1719474540368</pd:targetNamespace>
|
||||
<pd:activity name="Select Database Type">
|
||||
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
|
||||
<pd:resourceType>ae.process.subprocess</pd:resourceType>
|
||||
<pd:x>262</pd:x>
|
||||
<pd:y>357</pd:y>
|
||||
<pd:activity name="CatchRestError">
|
||||
<pd:type>com.tibco.pe.core.CatchActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.catch</pd:resourceType>
|
||||
<pd:x>357</pd:x>
|
||||
<pd:y>202</pd:y>
|
||||
<pd:handler>true</pd:handler>
|
||||
<config>
|
||||
<processName>/Processes/sql/InitializeDatabase.process</processName>
|
||||
<processNameXPath>if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql/InitializeDatabase.process' else '/Processes/xml/Xml.process'</processNameXPath>
|
||||
<spawn>false</spawn>
|
||||
<fault>localname=XMLError</fault>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<root>
|
||||
<method>
|
||||
<xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/Method"/>
|
||||
</method>
|
||||
<data>
|
||||
<xsl:value-of select="if ($HTTP-Receiver/ProcessStarterOutput/Method = 'DELETE' or $HTTP-Receiver/ProcessStarterOutput/Method = 'GET' ) then $HTTP-Receiver/ProcessStarterOutput/RequestURI else $HTTP-Receiver/ProcessStarterOutput/PostData"/>
|
||||
</data>
|
||||
</root>
|
||||
</pd:inputBindings>
|
||||
<pd:inputBindings/>
|
||||
</pd:activity>
|
||||
<pd:activity name="Send HTTP Response">
|
||||
<pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type>
|
||||
<pd:resourceType>httppalette.httpWebResponse</pd:resourceType>
|
||||
<pd:x>584</pd:x>
|
||||
<pd:y>349</pd:y>
|
||||
<pd:activity name="Log">
|
||||
<pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.log</pd:resourceType>
|
||||
<pd:x>225</pd:x>
|
||||
<pd:y>345</pd:y>
|
||||
<config>
|
||||
<closeConnection>true</closeConnection>
|
||||
<eventSource>HTTP Receiver</eventSource>
|
||||
<Headers>
|
||||
<xsd:element name="root">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="StatusLine" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Set-Cookie" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Pragma" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Location" type="xsd:string" minOccurs="0"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</Headers>
|
||||
<role>User</role>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<ResponseActivityInput>
|
||||
<asciiContent>
|
||||
<xsl:value-of select="$Render-XML/xmlString"/>
|
||||
</asciiContent>
|
||||
</ResponseActivityInput>
|
||||
<ns:ActivityInput>
|
||||
<message>
|
||||
<xsl:value-of select=""http message Received""/>
|
||||
</message>
|
||||
</ns:ActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="Render XML">
|
||||
<pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType>
|
||||
<pd:x>432</pd:x>
|
||||
<pd:y>349</pd:y>
|
||||
<pd:x>477</pd:x>
|
||||
<pd:y>345</pd:y>
|
||||
<config>
|
||||
<renderAsText>text</renderAsText>
|
||||
<validateInput>true</validateInput>
|
||||
@@ -132,17 +108,6 @@
|
||||
</root>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="CatchRestError">
|
||||
<pd:type>com.tibco.pe.core.CatchActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.catch</pd:resourceType>
|
||||
<pd:x>357</pd:x>
|
||||
<pd:y>202</pd:y>
|
||||
<pd:handler>true</pd:handler>
|
||||
<config>
|
||||
<fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault>
|
||||
</config>
|
||||
<pd:inputBindings/>
|
||||
</pd:activity>
|
||||
<pd:activity name="RestErrorResponse">
|
||||
<pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type>
|
||||
<pd:resourceType>httppalette.httpWebResponse</pd:resourceType>
|
||||
@@ -169,18 +134,85 @@
|
||||
<pd:inputBindings>
|
||||
<ResponseActivityInput>
|
||||
<asciiContent>
|
||||
<xsl:value-of select="$CatchRestError/ns2:root/ns2:error"/>
|
||||
<xsl:value-of select="$CatchRestError/XMLError/message"/>
|
||||
</asciiContent>
|
||||
</ResponseActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:transition>
|
||||
<pd:from>HTTP Receiver</pd:from>
|
||||
<pd:to>Select Database Type</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:activity name="Select Database Type">
|
||||
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
|
||||
<pd:resourceType>ae.process.subprocess</pd:resourceType>
|
||||
<pd:x>352</pd:x>
|
||||
<pd:y>352</pd:y>
|
||||
<config>
|
||||
<processName>/Processes/xml/Xml.process</processName>
|
||||
<processNameXPath>if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql/InitializeDatabase.process' else '/Processes/xml/Xml.process'</processNameXPath>
|
||||
<spawn>false</spawn>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<root>
|
||||
<method>
|
||||
<xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/Method"/>
|
||||
</method>
|
||||
<data>
|
||||
<xsl:value-of select="if ($HTTP-Receiver/ProcessStarterOutput/Method = 'DELETE' or $HTTP-Receiver/ProcessStarterOutput/Method = 'GET' ) then $HTTP-Receiver/ProcessStarterOutput/RequestURI else $HTTP-Receiver/ProcessStarterOutput/PostData"/>
|
||||
</data>
|
||||
</root>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="Send HTTP Response">
|
||||
<pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type>
|
||||
<pd:resourceType>httppalette.httpWebResponse</pd:resourceType>
|
||||
<pd:x>629</pd:x>
|
||||
<pd:y>345</pd:y>
|
||||
<config>
|
||||
<closeConnection>true</closeConnection>
|
||||
<eventSource>HTTP Receiver</eventSource>
|
||||
<Headers>
|
||||
<xsd:element name="root">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="StatusLine" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Set-Cookie" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Pragma" type="xsd:string" minOccurs="0"/>
|
||||
<xsd:element name="Location" type="xsd:string" minOccurs="0"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</Headers>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<ResponseActivityInput>
|
||||
<asciiContent>
|
||||
<xsl:value-of select="$Render-XML/xmlString"/>
|
||||
</asciiContent>
|
||||
</ResponseActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="Parse XML">
|
||||
<pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType>
|
||||
<pd:x>847</pd:x>
|
||||
<pd:y>99</pd:y>
|
||||
<config>
|
||||
<inputStyle>binary</inputStyle>
|
||||
<xsdVersion>default</xsdVersion>
|
||||
<validateOutput>true</validateOutput>
|
||||
</config>
|
||||
<pd:inputBindings/>
|
||||
</pd:activity>
|
||||
<pd:activity name="Render-XML-1">
|
||||
<pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType>
|
||||
<pd:x>667</pd:x>
|
||||
<pd:y>52</pd:y>
|
||||
<config>
|
||||
<renderAsText>binary</renderAsText>
|
||||
<validateInput>false</validateInput>
|
||||
</config>
|
||||
<pd:inputBindings/>
|
||||
</pd:activity>
|
||||
<pd:transition>
|
||||
<pd:from>Send HTTP Response</pd:from>
|
||||
<pd:to>End</pd:to>
|
||||
@@ -216,4 +248,18 @@
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:transition>
|
||||
<pd:from>HTTP Receiver</pd:from>
|
||||
<pd:to>Log</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:transition>
|
||||
<pd:from>Log</pd:from>
|
||||
<pd:to>Select Database Type</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
</pd:ProcessDefinition>
|
||||
Reference in New Issue
Block a user