Skip to content

Instantly share code, notes, and snippets.

@benbramley
Created July 11, 2013 14:00
Show Gist options
  • Save benbramley/5975686 to your computer and use it in GitHub Desktop.
Save benbramley/5975686 to your computer and use it in GitHub Desktop.
OpTier Oracle AIA Instrumentation
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright(c) Ecetera -->
<instrumentation xmlns="http://www.optier.com/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.optier.com/namespace ../../conf/OpTierPluginInstrument.xsd">
<process>
<class>
<name>oracle.tip.adapter.jms.inbound.JmsConsumer</name>
<additionalPath>${corefirst.home}/tierext/lib/cf-otti.jar;${corefirst.home}/tierext/lib/cf-sdk-wrapper.jar</additionalPath>
<static>false</static>
<insertBefore method="send" parameters="oracle.tip.adapter.jms.JmsAdapterMessage">
{
com.optier.corefirst.sdk.wrapper.SimplifiedPlugin#wuStart(
"JMS", // Protocol
$1.getHeaderJMSReplyTo(), // name of the transaction class
null, // User name
null, // User IP address
null, // Application Name
null, // Compound transaction name
null); // Compound ID
}
</insertBefore>
<insertAfter method="send" parameters="oracle.tip.adapter.jms.JmsAdapterMessage" asFinally="true">
{
com.optier.corefirst.sdk.wrapper.SimplifiedPlugin#wuEnd();
}
</insertAfter>
</class>
</process>
</instrumentation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment