works with ouside queue
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user