on 09-18-2011 8:14 AM
I'm developing one customer adapter module that calls stored procedure on sender side. I'm not able to stop process when Resultset is empty. As interface is firing every 60s, it is happening quite often and I want to avoid this, like std. JDBC adapter does. How to get this?
kr
mario
p.s: there should be some documentation on PI server regarding development customer modules, and I've found ONLY compiled Java classes not the source code. Any idea?
An adapter module cannot stop a message. Only an adapter can do this.
But developing a whole adapter is very difficult.
You find the source code of the sample adapter module in SAP note 1004000
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mario,
Its Adapter that calls the Module and it is not true other way around so you can't stop adapter through Module.
In your module code you can write a code in such a way that it forms just a header(or anything you wish to) and send it further.
In Receiver determination you can put a condition if certain node doesn't exist (in case of Result Set returns empty) then End the message (with or without error notification).
Thanks,
Sunil Singh
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.