I want to track specific logs with messageId for practice purpose without any database connection in all the 4api’s i need to know how to configure the headers for that mesaageId generation any help??
Correlation Id will be common for all 4 api's if your calling from one API to another API. So you can use correlation id for tracking in 4 api's logs. But if you want to use some header, try to pass Transaction-Id as correlation id (Store that in a variable called transactionId in each API)and make sure you configure this in HTTP Request while calling from one API to another API.
@@ravellavenkatsubbaiah4957 I explained generating our own correlation id at 7 min in this video. Please check that. At 9 min, we can have our own code (uuid() ++ (now() as String {format: 'YYYYMMdd-HHmmss'})) something like this.
thank u soo much sir... the explanation was simply superb
Very thorough explanation. Thank you.
Thank you
I want to track specific logs with messageId for practice purpose without any database connection in all the 4api’s i need to know how to configure the headers for that mesaageId generation any help??
Correlation Id will be common for all 4 api's if your calling from one API to another API. So you can use correlation id for tracking in 4 api's logs. But if you want to use some header, try to pass Transaction-Id as correlation id (Store that in a variable called transactionId in each API)and make sure you configure this in HTTP Request while calling from one API to another API.
@@NetBookTech is that server generated id for suppose if i want to generate that id by appending date and server time is that possible??
@@ravellavenkatsubbaiah4957 I explained generating our own correlation id at 7 min in this video. Please check that. At 9 min, we can have our own code (uuid() ++ (now() as String {format: 'YYYYMMdd-HHmmss'})) something like this.