jms works on tibcoAdmin
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:pfx3="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/JmsErrorSchema/JmsStatusResponse.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/schemas/JmsStatusResponse.xsd"/> | ||||
|     <pd:name>Processes/jms/JmsGet.process</pd:name> | ||||
|     <pd:startName>JMS Queue Receiver</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
| @@ -11,7 +11,7 @@ | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueEventSource</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueEventSource</pd:resourceType> | ||||
|         <pd:x>113</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
| @@ -25,7 +25,7 @@ | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <OutDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -41,7 +41,7 @@ | ||||
|     </pd:starter> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endX>536</pd:endX> | ||||
|     <pd:endY>70</pd:endY> | ||||
|     <pd:endY>66</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1724069617580</pd:targetNamespace> | ||||
| @@ -52,67 +52,10 @@ | ||||
|         <pd:y>203</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|             <fault>localname=xmlGetError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SendResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
|         <pd:x>403</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
|                 <transacted>false</transacted> | ||||
|                 <acknowledgeMode>1</acknowledgeMode> | ||||
|                 <maxSessions>1</maxSessions> | ||||
|                 <destination>getResponse</destination> | ||||
|             </SessionAttributes> | ||||
|             <ConfigurableHeaders> | ||||
|                 <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode> | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element ref="pfx:author" minOccurs="0"/> | ||||
|                             <xsd:element ref="pfx2:response"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </InDataxsdString> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <xsl:if test="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"> | ||||
|                     <destinationQueue> | ||||
|                         <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/> | ||||
|                     </destinationQueue> | ||||
|                 </xsl:if> | ||||
|                 <Body> | ||||
|                     <root> | ||||
|                         <xsl:copy-of select="$SqlGET/root/pfx:author"/> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$SqlGET/root/status"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="false()"/> | ||||
|                             </pfx2:isError> | ||||
|                             <pfx2:correlationID> | ||||
|                                 <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/> | ||||
|                             </pfx2:correlationID> | ||||
|                         </pfx2:response> | ||||
|                     </root> | ||||
|                 </Body> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SendeErrorResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
| @@ -132,7 +75,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -150,7 +93,7 @@ | ||||
|                     <root> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$Catch/ns1:root/ns1:error"/> | ||||
|                                 <xsl:value-of select="$Catch/xmlGetError/message"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="true()"/> | ||||
| @@ -164,13 +107,71 @@ | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SqlGET"> | ||||
|     <pd:activity name="SendResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
|         <pd:x>403</pd:x> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
|                 <transacted>false</transacted> | ||||
|                 <acknowledgeMode>1</acknowledgeMode> | ||||
|                 <maxSessions>1</maxSessions> | ||||
|                 <destination>getResponse</destination> | ||||
|             </SessionAttributes> | ||||
|             <ConfigurableHeaders> | ||||
|                 <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode> | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element ref="pfx:author" minOccurs="0"/> | ||||
|                             <xsd:element ref="pfx2:response"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </InDataxsdString> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <xsl:if test="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"> | ||||
|                     <destinationQueue> | ||||
|                         <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/> | ||||
|                     </destinationQueue> | ||||
|                 </xsl:if> | ||||
|                 <Body> | ||||
|                     <root> | ||||
|                         <xsl:copy-of select="$XmlGET/root/pfx:author"/> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$XmlGET/root/status"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="false()"/> | ||||
|                             </pfx2:isError> | ||||
|                             <pfx2:correlationID> | ||||
|                                 <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/> | ||||
|                             </pfx2:correlationID> | ||||
|                         </pfx2:response> | ||||
|                     </root> | ||||
|                 </Body> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlGET"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>269</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <pd:x>271</pd:x> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlGET.process</processName> | ||||
|             <processName>/Processes/xml/author/XmlGET.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlGET.process' else  '/Processes/xml/author/XmlGET.process'</processNameXPath> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
| @@ -182,13 +183,13 @@ | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>JMS Queue Receiver</pd:from> | ||||
|         <pd:to>SqlGET</pd:to> | ||||
|         <pd:to>XmlGET</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>SqlGET</pd:from> | ||||
|         <pd:from>XmlGET</pd:from> | ||||
|         <pd:to>SendResponse</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 wojciech
					wojciech