MessageEnrichUtilMgmtSvc/MessageEnrichUtilMgmtSvc/proxy/MessageEnrichUtilMgmtSvc.pipeline
2025-11-20 22:17:54 +01:00

87 lines
5.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<con:pipelineEntry xmlns:con="http://www.bea.com/wli/sb/pipeline/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<con:coreEntry>
<con:description>This pipeline implements utility functions for message enrichment for DVM and VB</con:description>
<con:binding type="SOAP" isSoap12="false" xsi:type="con:SoapBindingType">
<con:wsdl ref="MessageEnrichUtilMgmtSvc/wsdl/MessageEnrichUtilMgmtSvc"/>
<con:binding>
<con:name>MessageEnrichUtilMgmtSvcSOAP</con:name>
<con:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con:namespace>
</con:binding>
</con:binding>
<oper:operations xmlns:oper="http://xmlns.oracle.com/servicebus/pipeline/operations">
<oper:monitoring enabled="true" level="service" aggregationInterval="10"/>
</oper:operations>
<con:xqConfiguration>
<con:snippetVersion>1.0</con:snippetVersion>
</con:xqConfiguration>
</con:coreEntry>
<con:router>
<con:shared-variables>
<con:variable>backupHeaderME</con:variable>
<con:variable>backupBodyME</con:variable>
</con:shared-variables>
<con:template-overrides>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7c93">
<con1:dynamic-route xmlns:con1="http://www.bea.com/wli/sb/stages/routing/config">
<con1:service>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config"><![CDATA[<ctx:route>
<ctx:pipeline>{fn:concat("MessageEnrichUtilMgmtSvc/operations/",$operation,"/proxy/MessageEnrichUtilMgmtSvc_",$operation)}</ctx:pipeline>
<ctx:operation>{data($operation)}</ctx:operation>
</ctx:route>]]></con2:xqueryText>
</con1:service>
</con1:dynamic-route>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccd">
<con1:rename xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con1:namespace>
</con1:rename>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccc">
<con1:rename xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:namespace>http://xmlns.banesco.com/Service/MessageEnrichUtilMgmtSvc</con1:namespace>
</con1:rename>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e49">
<con1:assign varName="backupHeaderME" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config"/>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7e48">
<con1:assign varName="backupBodyME" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config"/>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cd0">
<con1:log xmlns:con1="http://www.bea.com/wli/sb/stages/logging/config">
<con1:logLevel>info</con1:logLevel>
<con1:expr>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config">fn:concat('[',fn:current-dateTime(),'][MessageID : ',$messageID,'][Global Error Handler][',fn:tokenize($inbound/@name,'\$')[last()],'/',$operation,'- message : ',$message,' - fault: ',fn-bea:serialize($fault),' - body : ',fn-bea:serialize($backupBodyME/*),'][Global Error Handler]')</con2:xqueryText>
</con1:expr>
</con1:log>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7ccf">
<con1:alert xmlns:con1="http://www.bea.com/wli/sb/stages/alert/config">
<con1:payload>
<con2:xqueryText xmlns:con2="http://www.bea.com/wli/sb/stages/config">fn:concat('[',fn:current-dateTime(),'][MessageID : ',$messageID,'][Global Error Handler][',fn:tokenize($inbound/@name,'\$')[last()],'/',$operation,'- message : ',$message,' - fault: ',fn-bea:serialize($fault),' - body : ',fn-bea:serialize($backupBodyME/*),'][Global Error Handler]')</con2:xqueryText>
</con1:payload>
</con1:alert>
</con:action-override>
<con:action-override id="_ActionId-N3f5776ff.4607c340.0.1566c1d8b70.N7cce">
<con1:replace xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:expr>
<con2:xqueryTransform xmlns:con2="http://www.bea.com/wli/sb/stages/config">
<con2:resource ref="BanescoCommonArtifacts/xq/errorHandler/ProxyErrorHandler"/>
<con2:param name="inbound">
<con2:path>$inbound</con2:path>
</con2:param>
<con2:param name="fault">
<con2:path>$fault</con2:path>
</con2:param>
<con2:param name="backupBody">
<con2:path>$backupBodyME</con2:path>
</con2:param>
</con2:xqueryTransform>
</con1:expr>
</con1:replace>
</con:action-override>
</con:template-overrides>
</con:router>
<con:template ref="BanescoCommonArtifacts/common/templates/pipeline/canonicalServices/TemplatePipelineCanonicalApp"/>
</con:pipelineEntry>