on 01-23-2012 12:42 PM
Hello experts,
does anybody know how i can get access to the message id in an ejb adapter module?
And what exactly is the channel id, which i can get access to with getChannelID()?
Thanks in advance.
Kind regards,
Markus Schalk
Hi,
Your function header looks like this:
public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData) throws ModuleException
and your code should be:
Object obj=null;
MessageKey key = null;
Message msg = null;
obj = inputModuleData.getPrincipalData();
msg = (Message) obj;
you get the message id with
msg.getMessageId();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Markus,
For the MessageId, see this very interesting SAP guide [PI7.1 - How tou2026 create Modules for the JEE Adapter Engine|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?QuickLink=index&overridelayout=true]... in Appendix for the Java code.
regards.
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.