cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module Development Hashtable entries

Former Member
0 Kudos

Hi I am developing an adapter module, I need to capture the SourceDirectory and Source file Timestamp, I am not able to capture the directory and file time stamp. Is there any way we can Print out the Hashtable entries into the audit log ???

I am using the below code

String fileName = (String) mp.get("FileName");

String Directory = (String) mp.get("SourceDirectory");

String SourceFileTimestamp = (String) mp.get("SourceFileTimestamp");

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>String fileName = (String) mp.get("FileName");

>>>String Directory = (String) mp.get("SourceDirectory");

>>>String SourceFileTimestamp = (String) mp.get("SourceFileTimestamp");

this approach works only for filename where did you read that it will work

for SourceDirectory or anything else?

you need to use adapter specific message arrtibutes to get that inside

an adapter module

that's the only way and it works for sure

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi Michal,

Can you send me a sample code of how to get adapter specific message arrtibutes inside an adapter module ??

Thanks,

Pramod Yadav.

prateek
Active Contributor
0 Kudos

This would help

/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules

Regards,

Prateek

Answers (0)