on 01-21-2009 2:02 PM
Hello Experts,
Is it safe to call AdapterModule after standard channel module (on async processing)?
I can't get any stable results, sometimes (more than sometimes, very often) NullPointerException is thrown, so I am wondering maybe there are some channel/J2EEEngine settings, which have to be applied to make it work.
p.s. the orgonal task is to implement notifications about succesfully processed messages, maybe you have sme other ideas for this task...
Hi,
As far as i know, Once the control is passed on to a standard module it calls the adapter.
And then adapter takes on the control.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After the standard SAP module, the XI message is empty. When you want to access that message, you receice null pointer exception.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> For me it would be logical to keep the message until all the modules in a chain are not processed
"The figure shows where you must insert your own modules ... in the module processor in
asynchronous communication. You always insert the modules before the adapter module."
http://help.sap.com/saphelp_nw04/helpdata/en/a4/f13341771b4c0de10000000a1550b0/frameset.htm
Stefan, yes in most of the cases this is the way to folow, but is the message really deleted from the memeory and is no longer accesible?
I mean, I was trying to throw different Exceptions from the process method of the module and was able to see them in the Audit Log of the message, which means that the module after the Standard module is actually called, but how to access message content from threre?
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.