Created
June 30, 2014 05:26
-
-
Save js1972/73a82505b338c2d03990 to your computer and use it in GitHub Desktop.
How to set a sender proxy message to EOIO (serialization). Call this serialize() method just prior to execute().
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method serialize. | |
"importing io_proxy type ref to cl_proxy_basis | |
"raising cx_ai_system_fault | |
data: | |
lo_async_messaging type ref to if_wsprotocol_async_messaging. | |
queue = get_queue_name( ). | |
check not queue is initial. | |
try. | |
lo_async_messaging ?= io_proxy->get_protocol( if_wsprotocol=>async_messaging ). | |
check lo_async_messaging is bound. | |
lo_async_messaging->set_serialization_context( queue ). | |
catch cx_sy_move_cast_error. | |
endtry. | |
endmethod. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment