Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to ignore IDs from BT names in the custom POJO

SOLVED
Mohamed.Adel
Producer

How to ignore IDs from BT names in the custom POJO

Hello,

I have configured a custom POJO rule to detect and split business transactions(refer to screenshot), but I noticed that some business transactions have IDs at the end of them(refer to screenshot)

Example:
BT name: wso2./identity/accounts/4.0.0/users/profile/bca2fe18-e665-4d9b-a764-df3e839f6024 

How to ignore this id in the custom POJO rule configured?wso2-rule.PNGBTS.PNG

How to ignore IDs from BT names in the custom POJO
1 REPLY 1
Mohamed.Adel
Producer

Re: How to ignore IDs from BT names in the custom POJO

Solved by @ahmed.zaki  by configuring the getter chain of the custom match rule to: getOptions().getTo().getAddress().split(V).[0,1]