cancel
Showing results for 
Search instead for 
Did you mean: 

Can a class or Module be executed before the sender File Adapter execute?

Former Member
0 Kudos

Hi

In case of sender adapter the module in the module processor gets executed after the adapter has performed its operation.

Is there a way I can execute the module before the sender adapter starts execution?

Or Is it possible to specify a java class to be executed before adapter, through configuration in the communication channel or some other way?

Thanks

Vijendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI Vijendra,

The File module adapter is the first one to get executed.

The only thing you can do is to run shell scripts if you have to do any activity in the folder or on the file.

Regards

Vijaya

Answers (2)

Answers (2)

Former Member
0 Kudos

Check this blog.

karma

Former Member
0 Kudos

Hi Vijendra,

The module always executes before the sender file adapter.

When you read a file, the file goes through the module sequence (where you can do conversions or something), and then the file adapter gets called.

I hope this is clear.

Karma