on 05-09-2011 12:00 PM
When working with client proxies there is the possibility of requesting acknowledgements from the receiving party. This will result in a acknowledgement message being sent back after successful delivery (technical acknowledgement) or successful processing of the message.
Java proxies support a callback mechanism by providing an interface com.sap.aii.proxy.xiruntime.ack.AckListenerLocal containing the method.
onAck(com.sap.aii.proxy.xiruntime.ack.AckMessage ack)
An implementation of this interface can be registered to handle the acknowledgment for a specific proxy.
How does this work for ABAP? Is there an ABAP OO interface? Is there a way of registering some handler for acknowledgements by any means?
Thanks for any response on this!
Currently there is no mechanism like the interface com.sap.aii.proxy.xiruntime.ack.AckListenerLocal for ABAP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> How does this work for ABAP? Is there an ABAP OO interface? Is there a way of registering some handler for acknowledgements by any means?
No. An ABAP acknowledgment is stored in a database table and does not trigger a method like in Java proxy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is bitter truth to hear. I do not understand that because it sounds simple and obvious to provide. Thanks anyway Stefan.
If anybody has a good idea how to setup a trigger that will run upon the receipt of an acknowledgement (not with polling) it would be highly appreciated.
Edited by: Jochen Damzog on May 10, 2011 8:51 AM
That is how it has been implemented in the proof of concept but I rather prefer asynchronous communication if possible because of performance reasons.
In our particular case we send a ~40MB data chunk from ERP to a sftp server in a one way communication. In my opinion synchronous communication is not reasonable for this.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.