cancel
Showing results for 
Search instead for 
Did you mean: 

Externally controlling channels based on event

Former Member
0 Kudos

Hi All,

We have a file to proxy scenario,where we have to pick a file from production server daily at 8PM.

But since other programs are also using same file,it should not be deleted or archived.

Hence we have to run it in test mode.

I have used availability time planning but by mistake someone started the channel and thousands of messages are getting triggered as it is in test mode.

How can we externally control the channels based on event,that if the file is already picked for the day,channels should be stopped automatically,and runs again next day at 8PM only.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184681
Active Contributor
0 Kudos

Hi,

Communication channels can be controlled externally over a SOAP web service. This approach is described nicely by William Li in one of his blogs: Control Communication Channels Externally without using RWB. I believe the best design for your scenario is to add a SOAP receiver that will call this web service and stop the sender channel, for each file processed (so as an additional receiver in Receiver Determination of your scenario). Thanks to this, the channel will be deactivated each time it processes a file, and you could use Availability Time Planning to start it each day 8PM.

Hope this helps,

Greg