on 12-10-2008 7:38 PM
Hello Community,
In my ongoing struggle to apply NWDI to PI developments I'm stuck with a PI 7.1 Adapter module:
To process the PI Message I'd like to use getPrincipalData on the ModuleData-Object:
/* (non-Javadoc)
* @see com.sap.aii.af.lib.mp.module.Module#process(
com.sap.aii.af.lib.mp.module.ModuleContext, com.sap.aii.af.lib.mp.module.ModuleData)
*/
public ModuleData process(ModuleContext arg0, ModuleData arg1)
throws ModuleException {
Object principalData = arg1.getPrincipalData();
}
What I know is that the principalData uses to be of type
com.sap.engine.interfaces.messaging.spi.TransportableMessage
and
com.sap.engine.interfaces.messaging.api.Message
To cast to one of those I think I need a dependency to sap.com/MESSAGING/com.sap.aii.af.ms.ifc.facade. The problem is that that component (I've imported 7.10 SP6) only grants access permission to sap.com/LMPLUGINS, so that's of no use to me.
Can somebody give a hint how to proceed?
Thanks!
Hello,
the solution is to refer to SAP_XIAF instead of MESSAGING. I've elaborated the details [here|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13870] [original link is broken] [original link is broken] [original link is broken];.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.