cancel
Showing results for 
Search instead for 
Did you mean: 

Empty-Message Handling is not working in receievr File Adapter

Former Member
0 Kudos

Hi All,

I have selected "Empty-Message Handling" = 'Ignore'in Receiver File adapter, but still empty files are creating in target directory.

Message mapping generates output based on the conditon, if the condition is 'false' mapping will generate empty file (no data is being mapped).

Why Receiver file adapter is processing empty fiels even i set 'ignore' empty fiels in configuration (ID)?

Hoe can i manage not to place empty fiels in target directory?

File type is '.txt'

Your help would be appreiciated greatly.

Thanks,

Rajesh

Accepted Solutions (0)

Answers (1)

Answers (1)

prateek
Active Contributor
0 Kudos

Not sure why is it not working. Make sure the channel is activated and cache is refreshed properly. But as a workaround you may use OS script checking for size of message and deleting it or configure a BPM to avoid the file creation. Or else an adapter module as shown

/people/gowtham.kuchipudi2/blog/2006/01/13/stop-creation-of-an-empty-file-from-file-adapter-using-module

Regards,

Prateek