on 07-21-2011 3:29 PM
Hello,
Does anybody know a way to programmatically detect a PI channel stopped in RWB?
Thanks,
Shawn
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.