cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically detect a PI channel stopped in RWB

Former Member
0 Kudos

Hello,

Does anybody know a way to programmatically detect a PI channel stopped in RWB?

Thanks,

Shawn

View Entire Topic
baskar_gopalakrishnan2
Active Contributor
0 Kudos

One possible way is ..

Write a java program and using http command to control the channel. if the channel is already stopped based on the http response we can decide whether the channel is stopped or working. we can achieve this using script too.

Controlling the communication channels using http command as follows...

/people/william.li/blog/2007/05/04/control-communication-channels-externally-without-using-rwb

Example: send stop command and see whether the response is 200 OK. If the response is not good then we can decide the channel is already in sleep state.

http(s)://nspad271.pal.sap.corp:50000/AdapterFramework/ChannelAdminServlet?party=&service=BLService&channel=File1_sender&action=stop