works with ouside queue
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
#Design time libraries
 | 
			
		||||
#Format: #=File Alias=Description
 | 
			
		||||
#Tue Sep 03 12:48:22 CEST 2024
 | 
			
		||||
#Thu Sep 05 10:35:51 CEST 2024
 | 
			
		||||
0=ProjectLibrary.projlib1\=
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
        <NamingEnvironment>
 | 
			
		||||
            <UseJNDI>true</UseJNDI>
 | 
			
		||||
            <ProviderURL>tcp://localhost:7222</ProviderURL>
 | 
			
		||||
            <NamingURL>tibjmsnaming://localhost:7222</NamingURL>
 | 
			
		||||
            <NamingURL>%%jmsURL%%</NamingURL>
 | 
			
		||||
            <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory>
 | 
			
		||||
            <TopicFactoryName>TopicConnectionFactory</TopicFactoryName>
 | 
			
		||||
            <QueueFactoryName>QueueConnectionFactory</QueueFactoryName>
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
            <NamingCredential/>
 | 
			
		||||
        </NamingEnvironment>
 | 
			
		||||
        <ConnectionAttributes>
 | 
			
		||||
            <username/>
 | 
			
		||||
            <username>admin</username>
 | 
			
		||||
            <password/>
 | 
			
		||||
            <clientID/>
 | 
			
		||||
            <autoGenClientID>true</autoGenClientID>
 | 
			
		||||
 
 | 
			
		||||
@@ -10,11 +10,11 @@
 | 
			
		||||
            <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory>
 | 
			
		||||
            <TopicFactoryName>FTTopicConnectionFactory</TopicFactoryName>
 | 
			
		||||
            <QueueFactoryName>FTQueueConnectionFactory</QueueFactoryName>
 | 
			
		||||
            <NamingPrincipal>szewczyk.author</NamingPrincipal>
 | 
			
		||||
            <NamingPrincipal>admin</NamingPrincipal>
 | 
			
		||||
            <NamingCredential/>
 | 
			
		||||
        </NamingEnvironment>
 | 
			
		||||
        <ConnectionAttributes>
 | 
			
		||||
            <username/>
 | 
			
		||||
            <username>admin</username>
 | 
			
		||||
            <password/>
 | 
			
		||||
            <clientID/>
 | 
			
		||||
            <autoGenClientID>true</autoGenClientID>
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,7 @@
 | 
			
		||||
        <NamingEnvironment>
 | 
			
		||||
            <UseJNDI>true</UseJNDI>
 | 
			
		||||
            <ProviderURL>tcp://localhost:7222</ProviderURL>
 | 
			
		||||
            <NamingURL>tcp://tibbw5.zipper.release11.com:7222</NamingURL>
 | 
			
		||||
            <NamingURL>%%jmsURL%%</NamingURL>
 | 
			
		||||
            <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory>
 | 
			
		||||
            <TopicFactoryName>TopicConnectionFactory</TopicFactoryName>
 | 
			
		||||
            <QueueFactoryName>QueueConnectionFactory</QueueFactoryName>
 | 
			
		||||
@@ -14,7 +14,7 @@
 | 
			
		||||
            <NamingCredential/>
 | 
			
		||||
        </NamingEnvironment>
 | 
			
		||||
        <ConnectionAttributes>
 | 
			
		||||
            <username/>
 | 
			
		||||
            <username>admin</username>
 | 
			
		||||
            <password/>
 | 
			
		||||
            <clientID/>
 | 
			
		||||
            <autoGenClientID>true</autoGenClientID>
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>deleteRequest</destination>
 | 
			
		||||
                <destination>deleteRequestWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -40,7 +40,6 @@
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:starter>
 | 
			
		||||
    <pd:endName>End</pd:endName>
 | 
			
		||||
    <pd:endType/>
 | 
			
		||||
    <pd:endX>614</pd:endX>
 | 
			
		||||
    <pd:endY>67</pd:endY>
 | 
			
		||||
    <pd:errorSchemas>
 | 
			
		||||
@@ -59,26 +58,92 @@
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendErrorResponse">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSTopicPublishActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSTopicPublishActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>476</pd:x>
 | 
			
		||||
        <pd:y>221</pd:y>
 | 
			
		||||
    <pd:activity name="SqlDELETE">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | 
			
		||||
        <pd:x>307</pd:x>
 | 
			
		||||
        <pd:y>67</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <processName>/Processes/xml/author/XmlDELETE.process</processName>
 | 
			
		||||
            <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlDELETE.process' else  '/Processes/xml/author/XmlDELETE.process'</processNameXPath>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <root>
 | 
			
		||||
                <id>
 | 
			
		||||
                    <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/Body/root/id"/>
 | 
			
		||||
                </id>
 | 
			
		||||
            </root>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="Reply to JMS Message">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSReplyActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSReplyActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>456</pd:x>
 | 
			
		||||
        <pd:y>71</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>deleteResponse</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
                <EventSource>JMS Topic Subscriber</EventSource>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <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>
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <root>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
                            <pfx2:status>
 | 
			
		||||
                                <xsl:value-of select="$SqlDELETE/root/status"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="'false'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
                </Body>
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="Reply-to-JMS-Message-1">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSReplyActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSReplyActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>480</pd:x>
 | 
			
		||||
        <pd:y>220</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
                <EventSource>JMS Topic Subscriber</EventSource>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <InDataxsdString>
 | 
			
		||||
                <xsd:element name="root">
 | 
			
		||||
                    <xsd:complexType>
 | 
			
		||||
@@ -99,10 +164,10 @@
 | 
			
		||||
                                <xsl:value-of select="$Catch/xmlDeleteError/message"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="true()"/>
 | 
			
		||||
                                <xsl:value-of select="'true'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
@@ -110,79 +175,6 @@
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendResponse">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSTopicPublishActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSTopicPublishActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>476</pd:x>
 | 
			
		||||
        <pd:y>67</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination/>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.delete.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-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo">
 | 
			
		||||
                    <destinationTopic>
 | 
			
		||||
                        <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/>
 | 
			
		||||
                    </destinationTopic>
 | 
			
		||||
                </xsl:if>
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <root>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
                            <pfx2:status>
 | 
			
		||||
                                <xsl:value-of select="$SqlDELETE/root/status"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="false()"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
                </Body>
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SqlDELETE">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | 
			
		||||
        <pd:x>307</pd:x>
 | 
			
		||||
        <pd:y>67</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <processName>/Processes/xml/author/XmlDELETE.process</processName>
 | 
			
		||||
            <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlDELETE.process' else  '/Processes/xml/author/XmlDELETE.process'</processNameXPath>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <root>
 | 
			
		||||
                <id>
 | 
			
		||||
                    <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/Body/root/id"/>
 | 
			
		||||
                </id>
 | 
			
		||||
            </root>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>JMS Topic Subscriber</pd:from>
 | 
			
		||||
        <pd:to>SqlDELETE</pd:to>
 | 
			
		||||
@@ -192,13 +184,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SqlDELETE</pd:from>
 | 
			
		||||
        <pd:to>SendResponse</pd:to>
 | 
			
		||||
        <pd:to>Reply to JMS Message</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendResponse</pd:from>
 | 
			
		||||
        <pd:from>Reply to JMS Message</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
@@ -206,13 +198,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>Catch</pd:from>
 | 
			
		||||
        <pd:to>SendErrorResponse</pd:to>
 | 
			
		||||
        <pd:to>Reply-to-JMS-Message-1</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendErrorResponse</pd:from>
 | 
			
		||||
        <pd:from>Reply-to-JMS-Message-1</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
 
 | 
			
		||||
@@ -11,14 +11,14 @@
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSQueueEventSource</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSQueueEventSource</pd:resourceType>
 | 
			
		||||
        <pd:x>113</pd:x>
 | 
			
		||||
        <pd:y>66</pd:y>
 | 
			
		||||
        <pd:y>56</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>putRequest</destination>
 | 
			
		||||
                <destination>getRequestWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -41,33 +41,33 @@
 | 
			
		||||
    </pd:starter>
 | 
			
		||||
    <pd:endName>End</pd:endName>
 | 
			
		||||
    <pd:endX>536</pd:endX>
 | 
			
		||||
    <pd:endY>66</pd:endY>
 | 
			
		||||
    <pd:endY>56</pd:endY>
 | 
			
		||||
    <pd:errorSchemas/>
 | 
			
		||||
    <pd:processVariables/>
 | 
			
		||||
    <pd:targetNamespace>http://xmlns.example.com/1724069617580</pd:targetNamespace>
 | 
			
		||||
    <pd:activity name="Catch">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CatchActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.catch</pd:resourceType>
 | 
			
		||||
        <pd:x>269</pd:x>
 | 
			
		||||
        <pd:y>203</pd:y>
 | 
			
		||||
        <pd:x>220</pd:x>
 | 
			
		||||
        <pd:y>262</pd:y>
 | 
			
		||||
        <pd:handler>true</pd:handler>
 | 
			
		||||
        <config>
 | 
			
		||||
            <fault>localname=xmlGetError</fault>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendeErrorResponse">
 | 
			
		||||
    <pd:activity name="JMS Queue Sender">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>403</pd:x>
 | 
			
		||||
        <pd:y>201</pd:y>
 | 
			
		||||
        <pd:x>386</pd:x>
 | 
			
		||||
        <pd:y>56</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>getResponse</destination>
 | 
			
		||||
                <destination>getResponseWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -89,62 +89,6 @@
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns:ActivityInput>
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <root>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
                            <pfx2:status>
 | 
			
		||||
                                <xsl:value-of select="$Catch/xmlGetError/message"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="true()"/>
 | 
			
		||||
                            </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="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"/>
 | 
			
		||||
@@ -153,10 +97,10 @@
 | 
			
		||||
                                <xsl:value-of select="$XmlGET/root/status"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="false()"/>
 | 
			
		||||
                                <xsl:value-of select="'false'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
@@ -164,11 +108,40 @@
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="JMS-Queue-Sender-1">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>423</pd:x>
 | 
			
		||||
        <pd:y>262</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>getResponseWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns:ActivityInput>
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <xsl:value-of select="$Catch/xmlGetError/message"/>
 | 
			
		||||
                </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>271</pd:x>
 | 
			
		||||
        <pd:y>66</pd:y>
 | 
			
		||||
        <pd:x>269</pd:x>
 | 
			
		||||
        <pd:y>56</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <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>
 | 
			
		||||
@@ -190,13 +163,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>XmlGET</pd:from>
 | 
			
		||||
        <pd:to>SendResponse</pd:to>
 | 
			
		||||
        <pd:to>JMS Queue Sender</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendResponse</pd:from>
 | 
			
		||||
        <pd:from>JMS Queue Sender</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
@@ -204,13 +177,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>Catch</pd:from>
 | 
			
		||||
        <pd:to>SendeErrorResponse</pd:to>
 | 
			
		||||
        <pd:to>JMS-Queue-Sender-1</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendeErrorResponse</pd:from>
 | 
			
		||||
        <pd:from>JMS-Queue-Sender-1</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
<?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: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">
 | 
			
		||||
<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:ns2="http://www.tibco.com/pe/WriteToLogActivitySchema" 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/schemas/JmsStatusResponse.xsd"/>
 | 
			
		||||
    <pd:name>Processes/jms/JmsPost.process</pd:name>
 | 
			
		||||
@@ -11,21 +11,21 @@
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSTopicEventSource</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSTopicEventSource</pd:resourceType>
 | 
			
		||||
        <pd:x>72</pd:x>
 | 
			
		||||
        <pd:y>71</pd:y>
 | 
			
		||||
        <pd:y>58</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>deleteRequest</destination>
 | 
			
		||||
                <destination>postRequestWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.delete.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <OutDataxsdString>
 | 
			
		||||
                <xsd:element name="root">
 | 
			
		||||
                    <xsd:complexType>
 | 
			
		||||
@@ -40,42 +40,73 @@
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:starter>
 | 
			
		||||
    <pd:endName>End</pd:endName>
 | 
			
		||||
    <pd:endX>546</pd:endX>
 | 
			
		||||
    <pd:endY>64</pd:endY>
 | 
			
		||||
    <pd:endX>855</pd:endX>
 | 
			
		||||
    <pd:endY>51</pd:endY>
 | 
			
		||||
    <pd:errorSchemas/>
 | 
			
		||||
    <pd:processVariables/>
 | 
			
		||||
    <pd:targetNamespace>http://xmlns.example.com/1724069617580</pd:targetNamespace>
 | 
			
		||||
    <pd:activity name="Catch">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CatchActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.catch</pd:resourceType>
 | 
			
		||||
        <pd:x>243</pd:x>
 | 
			
		||||
        <pd:y>240</pd:y>
 | 
			
		||||
        <pd:x>343</pd:x>
 | 
			
		||||
        <pd:y>241</pd:y>
 | 
			
		||||
        <pd:handler>true</pd:handler>
 | 
			
		||||
        <config>
 | 
			
		||||
            <fault>localname=xmlPostError</fault>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendResponse">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSTopicPublishActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSTopicPublishActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>398</pd:x>
 | 
			
		||||
        <pd:y>64</pd:y>
 | 
			
		||||
    <pd:activity name="Log">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.log</pd:resourceType>
 | 
			
		||||
        <pd:x>209</pd:x>
 | 
			
		||||
        <pd:y>51</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <role>User</role>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns2:ActivityInput>
 | 
			
		||||
                <message>
 | 
			
		||||
                    <xsl:value-of select=""received Post message""/>
 | 
			
		||||
                </message>
 | 
			
		||||
            </ns2:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="Log-1">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.log</pd:resourceType>
 | 
			
		||||
        <pd:x>648</pd:x>
 | 
			
		||||
        <pd:y>51</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <role>User</role>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns2:ActivityInput>
 | 
			
		||||
                <message>
 | 
			
		||||
                    <xsl:value-of select="concat("message send",  $SqlPOST/root/status)"/>
 | 
			
		||||
                </message>
 | 
			
		||||
            </ns2:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="Reply to JMS Message">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSReplyActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSReplyActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>503</pd:x>
 | 
			
		||||
        <pd:y>58</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination/>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
                <EventSource>JMS Topic Subscriber</EventSource>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <InDataxsdString>
 | 
			
		||||
                <xsd:element name="root">
 | 
			
		||||
                    <xsd:complexType>
 | 
			
		||||
@@ -89,11 +120,6 @@
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns:ActivityInput>
 | 
			
		||||
                <xsl:if test="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo">
 | 
			
		||||
                    <destinationTopic>
 | 
			
		||||
                        <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/>
 | 
			
		||||
                    </destinationTopic>
 | 
			
		||||
                </xsl:if>
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <root>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
@@ -104,7 +130,7 @@
 | 
			
		||||
                                <xsl:value-of select="'false'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
@@ -112,41 +138,25 @@
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SqlPOST">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | 
			
		||||
        <pd:x>243</pd:x>
 | 
			
		||||
        <pd:y>64</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <processName>/Processes/xml/author/XmlPOST.process</processName>
 | 
			
		||||
            <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlPOST.process' else  '/Processes/xml/author/XmlPOST.process'</processNameXPath>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <root>
 | 
			
		||||
                <xsl:copy-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/Body/root/pfx:author"/>
 | 
			
		||||
            </root>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendResponse-1">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSTopicPublishActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSTopicPublishActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>411</pd:x>
 | 
			
		||||
        <pd:y>239</pd:y>
 | 
			
		||||
    <pd:activity name="Reply-to-JMS-Message-1">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSReplyActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSReplyActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>500</pd:x>
 | 
			
		||||
        <pd:y>241</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>postResponse</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
                <JMSExpiration>0</JMSExpiration>
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
                <EventSource>JMS Topic Subscriber</EventSource>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <InDataxsdString>
 | 
			
		||||
                <xsd:element name="root">
 | 
			
		||||
                    <xsd:complexType>
 | 
			
		||||
@@ -170,7 +180,7 @@
 | 
			
		||||
                                <xsl:value-of select="'true'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
@@ -178,36 +188,65 @@
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SqlPOST">
 | 
			
		||||
        <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | 
			
		||||
        <pd:x>343</pd:x>
 | 
			
		||||
        <pd:y>51</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <processName>/Processes/xml/author/XmlPOST.process</processName>
 | 
			
		||||
            <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlPOST.process' else  '/Processes/xml/author/XmlPOST.process'</processNameXPath>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <root>
 | 
			
		||||
                <xsl:copy-of select="$JMS-Topic-Subscriber/ns:ActivityOutput/Body/root/pfx:author"/>
 | 
			
		||||
            </root>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>JMS Topic Subscriber</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>SqlPOST</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SqlPOST</pd:from>
 | 
			
		||||
        <pd:to>SendResponse</pd:to>
 | 
			
		||||
        <pd:from>Log-1</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendResponse</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:from>SqlPOST</pd:from>
 | 
			
		||||
        <pd:to>Reply to JMS Message</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>Reply to JMS Message</pd:from>
 | 
			
		||||
        <pd:to>Log-1</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>Catch</pd:from>
 | 
			
		||||
        <pd:to>SendResponse-1</pd:to>
 | 
			
		||||
        <pd:to>Reply-to-JMS-Message-1</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendResponse-1</pd:from>
 | 
			
		||||
        <pd:from>Reply-to-JMS-Message-1</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>putRequest</destination>
 | 
			
		||||
                <destination>putRequestWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -56,18 +56,18 @@
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings/>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendResponse">
 | 
			
		||||
    <pd:activity name="JMS Queue Sender">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>422</pd:x>
 | 
			
		||||
        <pd:y>65</pd:y>
 | 
			
		||||
        <pd:x>415</pd:x>
 | 
			
		||||
        <pd:y>67</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination/>
 | 
			
		||||
                <destination>putResponseWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -89,11 +89,6 @@
 | 
			
		||||
        </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>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
@@ -101,10 +96,10 @@
 | 
			
		||||
                                <xsl:value-of select="$SqlPUT/root/status"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="false()"/>
 | 
			
		||||
                                <xsl:value-of select="'false'"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
@@ -112,18 +107,18 @@
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SendeErrorResponse">
 | 
			
		||||
    <pd:activity name="JMS-Queue-Sender-1">
 | 
			
		||||
        <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type>
 | 
			
		||||
        <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType>
 | 
			
		||||
        <pd:x>422</pd:x>
 | 
			
		||||
        <pd:y>223</pd:y>
 | 
			
		||||
        <pd:x>454</pd:x>
 | 
			
		||||
        <pd:y>225</pd:y>
 | 
			
		||||
        <config>
 | 
			
		||||
            <PermittedMessageType>XML Text</PermittedMessageType>
 | 
			
		||||
            <SessionAttributes>
 | 
			
		||||
                <transacted>false</transacted>
 | 
			
		||||
                <acknowledgeMode>1</acknowledgeMode>
 | 
			
		||||
                <maxSessions>1</maxSessions>
 | 
			
		||||
                <destination>putResponse</destination>
 | 
			
		||||
                <destination>getResponseWS</destination>
 | 
			
		||||
            </SessionAttributes>
 | 
			
		||||
            <ConfigurableHeaders>
 | 
			
		||||
                <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode>
 | 
			
		||||
@@ -131,7 +126,7 @@
 | 
			
		||||
                <JMSPriority>4</JMSPriority>
 | 
			
		||||
            </ConfigurableHeaders>
 | 
			
		||||
            <DeliveryDelay>0</DeliveryDelay>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <ConnectionReference>/LocalResources/jmsConnections/server.put.sharedjmscon</ConnectionReference>
 | 
			
		||||
            <InDataxsdString>
 | 
			
		||||
                <xsd:element name="root">
 | 
			
		||||
                    <xsd:complexType>
 | 
			
		||||
@@ -144,23 +139,23 @@
 | 
			
		||||
            </InDataxsdString>
 | 
			
		||||
        </config>
 | 
			
		||||
        <pd:inputBindings>
 | 
			
		||||
            <ns:ActivityInput>
 | 
			
		||||
            <ns1:ActivityInput xmlns:ns1="http://www.tibco.com/namespaces/tnt/plugins/jms">
 | 
			
		||||
                <Body>
 | 
			
		||||
                    <root>
 | 
			
		||||
                        <pfx2:response>
 | 
			
		||||
                            <pfx2:status>
 | 
			
		||||
                        <ns2:response xmlns:ns2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd">
 | 
			
		||||
                            <ns2:status>
 | 
			
		||||
                                <xsl:value-of select="$Catch/XMLPutError/message"/>
 | 
			
		||||
                            </pfx2:status>
 | 
			
		||||
                            <pfx2:isError>
 | 
			
		||||
                                <xsl:value-of select="true()"/>
 | 
			
		||||
                            </pfx2:isError>
 | 
			
		||||
                            <pfx2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/>
 | 
			
		||||
                            </pfx2:correlationID>
 | 
			
		||||
                        </pfx2:response>
 | 
			
		||||
                            </ns2:status>
 | 
			
		||||
                            <ns2:isError>
 | 
			
		||||
                                <xsl:value-of select="'true'"/>
 | 
			
		||||
                            </ns2:isError>
 | 
			
		||||
                            <ns2:correlationID>
 | 
			
		||||
                                <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSCorrelationID"/>
 | 
			
		||||
                            </ns2:correlationID>
 | 
			
		||||
                        </ns2:response>
 | 
			
		||||
                    </root>
 | 
			
		||||
                </Body>
 | 
			
		||||
            </ns:ActivityInput>
 | 
			
		||||
            </ns1:ActivityInput>
 | 
			
		||||
        </pd:inputBindings>
 | 
			
		||||
    </pd:activity>
 | 
			
		||||
    <pd:activity name="SqlPUT">
 | 
			
		||||
@@ -187,13 +182,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SqlPUT</pd:from>
 | 
			
		||||
        <pd:to>SendResponse</pd:to>
 | 
			
		||||
        <pd:to>JMS Queue Sender</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendResponse</pd:from>
 | 
			
		||||
        <pd:from>JMS Queue Sender</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
@@ -201,13 +196,13 @@
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>Catch</pd:from>
 | 
			
		||||
        <pd:to>SendeErrorResponse</pd:to>
 | 
			
		||||
        <pd:to>JMS-Queue-Sender-1</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
        <pd:conditionType>always</pd:conditionType>
 | 
			
		||||
    </pd:transition>
 | 
			
		||||
    <pd:transition>
 | 
			
		||||
        <pd:from>SendeErrorResponse</pd:from>
 | 
			
		||||
        <pd:from>JMS-Queue-Sender-1</pd:from>
 | 
			
		||||
        <pd:to>End</pd:to>
 | 
			
		||||
        <pd:lineType>Default</pd:lineType>
 | 
			
		||||
        <pd:lineColor>-16777216</pd:lineColor>
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
            <authorProperty>wojciech</authorProperty>
 | 
			
		||||
            <processProperty>/Processes/jms/JmsDelete.process,/Processes/jms/JmsGet.process,/Processes/jms/JmsPost.process,/Processes/jms/JmsPut.process</processProperty>
 | 
			
		||||
        </processArchive>
 | 
			
		||||
        <versionProperty>9</versionProperty>
 | 
			
		||||
        <versionProperty>17</versionProperty>
 | 
			
		||||
        <authorProperty>wojciech</authorProperty>
 | 
			
		||||
        <addServiceSettableGvars>true</addServiceSettableGvars>
 | 
			
		||||
        <name>jmsWithJars</name>
 | 
			
		||||
 
 | 
			
		||||
@@ -35,19 +35,19 @@
 | 
			
		||||
		</globalVariable>
 | 
			
		||||
		<globalVariable>
 | 
			
		||||
			<name>FTPPassword</name>
 | 
			
		||||
			<value>3EyacCIOg8NPfbERzx0q6ZZh54oryRJs</value>
 | 
			
		||||
			<value>FBznrwnq2bi7tNTnRzUuHoASvQHxWApk</value>
 | 
			
		||||
			<deploymentSettable>true</deploymentSettable>
 | 
			
		||||
			<serviceSettable>false</serviceSettable>
 | 
			
		||||
			<type>String</type>
 | 
			
		||||
			<modTime>1725011413071</modTime>
 | 
			
		||||
			<modTime>1725525342987</modTime>
 | 
			
		||||
		</globalVariable>
 | 
			
		||||
		<globalVariable>
 | 
			
		||||
			<name>FTPUSername</name>
 | 
			
		||||
			<value>56e0529d6cd24984a385de40aad2fb98</value>
 | 
			
		||||
			<value>55848122fd0f4dfcb271922aacfa9282</value>
 | 
			
		||||
			<deploymentSettable>true</deploymentSettable>
 | 
			
		||||
			<serviceSettable>false</serviceSettable>
 | 
			
		||||
			<type>String</type>
 | 
			
		||||
			<modTime>1725011413090</modTime>
 | 
			
		||||
			<modTime>1725525332148</modTime>
 | 
			
		||||
		</globalVariable>
 | 
			
		||||
		<globalVariable>
 | 
			
		||||
			<name>HawkEnabled</name>
 | 
			
		||||
@@ -163,11 +163,11 @@
 | 
			
		||||
		</globalVariable>
 | 
			
		||||
		<globalVariable>
 | 
			
		||||
			<name>jmsURL</name>
 | 
			
		||||
			<value>tcp://localhost:7222</value>
 | 
			
		||||
			<value>tcp://tibbw5.zipper.release11.com:7222</value>
 | 
			
		||||
			<deploymentSettable>true</deploymentSettable>
 | 
			
		||||
			<serviceSettable>false</serviceSettable>
 | 
			
		||||
			<type>String</type>
 | 
			
		||||
			<modTime>1725360353414</modTime>
 | 
			
		||||
			<modTime>1725524274784</modTime>
 | 
			
		||||
		</globalVariable>
 | 
			
		||||
		<globalVariable>
 | 
			
		||||
			<name>processType</name>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user