Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from michaelhyatt/MDC_support
Browse files Browse the repository at this point in the history
Updated the domain listeners to track flow completion events
  • Loading branch information
michaelhyatt authored Jul 8, 2020
2 parents eb191ee + 734396f commit 0c202e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apm-mule3-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-mule3-agent</artifactId>
<version>1.15.1</version>
<version>1.15.2</version>
<packaging>${packaging}</packaging>
<name>Mule apm-mule3-agent Application</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,10 @@ public void onNotification(PipelineMessageNotification notification) {
transactionUtils.startTransactionIfNone(notification);
break;

case PipelineMessageNotification.PROCESS_COMPLETE:
case PipelineMessageNotification.PROCESS_END:
transactionUtils.endTransactionIfNeeded(notification);
break;

case PipelineMessageNotification.PROCESS_COMPLETE:
// Ignored, as it is skipped when flow exception is thrown
break;
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion apm-mule3.8-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>co.elastic.apm</groupId>
<artifactId>apm-mule3.8-agent</artifactId>
<version>1.15.1</version>
<version>1.15.2</version>
<packaging>${packaging}</packaging>
<name>Mule apm-mule3-agent Application built for Mule 3.8</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,10 @@ public void onNotification(PipelineMessageNotification notification) {
transactionUtils.startTransactionIfNone(notification);
break;

case PipelineMessageNotification.PROCESS_COMPLETE:
case PipelineMessageNotification.PROCESS_END:
transactionUtils.endTransactionIfNeeded(notification);
break;

case PipelineMessageNotification.PROCESS_COMPLETE:
// Ignored, as it is skipped when flow exception is thrown
break;
}
}
});
Expand Down

0 comments on commit 0c202e6

Please sign in to comment.