In some cases, it is necessary for Feed Service to send responsive events back to the event source in the same socket in which the original events are received (ReplyBack mode).
To shift Feed Service to ReplyBack mode,
Send the first message, X-KF-ReplyBack
, after a TCP connection with Feed Service is established.
After the first message is sent, during the current TCP session every responsive event will be sent in the same socket in which the original event is received. The setting specified in the Configuration > OutputSettings > ConnectionString
element of the configuration will be ignored.
You can use the X-KF-SendFinishedEvent
event to enable sending an informational event that indicates event checking for the current thread has finished. You can make Feed Service send this event in two ways: by setting the enable
attribute of the OutputSettings > FinishedEventFormat
element of the Feed Service configuration file to true
, or by sending X-KF-SendFinishedEventX-KF-ReplyBack
as the first event. This finishing event will be sent even If you set the enable
attribute of the OutputSettings > FinishedEventFormat
element of the Feed Service configuration file to false
.
To instruct Feed Service that it must shift to ReplyBack mode and send a finishing event,
Send the first message, X-KF-SendFinishedEventX-KF-ReplyBack
, after a TCP connection with Feed Service is established.