Diane,
Here are the steps to set the timeout parameter per the articlesr:
IS does not assume any connection timeout so the default timeout is infinite (This is as per design).
Now we have 2 ways to set the timeout:
- Mention in input variable “properties” while running the SMTP service.
- If you want a single setting for timeout which will be applicable for all the invocation of “pub.client:smtp” service then set the timeout as part of watt property “watt.config.systemProperties”(as mentioned in the IS Built in services guide).
e.g.: watt.config.systemProperties=mail.imap.partialfetch=true,mail.smtp.connectiontimeout=30000,mail.smtp.timeout=30000
To modify this watt property login to IS Admin and go to ?Settings > Extended? follow the steps:
A: Go to Settings > Extended.
B. Click on link ?Show and Hide Keys?. If the checkbox for watt.config.systemProperties is not already selected then select, now click save button.
C. Now again go to ??Settings > Extended? click on ?Edit Extended Settings? link. Now if already some value is there for watt property ?watt.config.systemProperties? then append the timeout setting as mentioned in step 2 else set this watt property with timeout settings.
Please test it out and let us know if this serve’s any better to resolve this issue:
HTH,
RMG
#Integration-Server-and-ESB#webMethods