Skip to Content
Mar 13, 2009 at 01:47 PM

get/set message interface name in adapter module



From an adapter module, I'd like to get or even set the Message Interface name of the message that is handed over to the function "process" of the adapter module.

I've got two context's, sessioncontext and modulecontext. With both contexts, you can get values from that context. I'm not sure which context has the message interface name of the message currently being processed, and I'm also not sure what that value is called (moduleContext.getContextData("name");).

The reason for this is that sometimes you'd like to do something different depending on the type of message being processed.

If anyone knows how to do this, I'd be glad to hear.

Thanks in advance for any advice!

Greetings, Walter.