cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a parameter in a custom adapter module?

Former Member
0 Kudos

Hello all,

We have a custom adapter module to read email attachments and save them in the fileSystem under some folders accordingly some rules. My question is, how can we set parameters in the communication channel / module / module configuration and how we can get this parameter name / values in the ejb code?

Thanks!

Waldemar

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

moduleContext.getContextData("ParameterName");

Here is an example code:

http://wiki.sdn.sap.com/wiki/display/XI/AdaptermoduleexampleforPI+7.1

Former Member
0 Kudos

Thank you Stefan, I thought it should be simple but wasn't able to find it in sdn.

best regards.

Waldemar Roberti

Answers (0)