mulesoft/mule-devkit — Issue #86: Configure HttpCallback to use a static URL
Author: khurley
Created: 2012-01-27 19:47:31+00:00
State: open

Greetings,

My project consists of sending SMS messages to a 3rd party for processing. My application waits on a status update from the 3rd party service. Sometimes it can take up to 24 hours or better for the 3rd party to deliver the SMS message. During this time period, there are an untold number of problems that could occur with my application or its network. One potential problem is that server that is waiting on the return acknowledgement from the 3rd party could go down. When it comes back up, it will have no way of "remembering" the randomly generated path to place on the URL that was created by HttpCallback to begin waiting again for the acknowledgement.

I am thinking that it would be advantageous to have another attribute placed on the HttpCallback interface that would allow you to specify the path in the following way.

This example would produce: "www.mydomain.com:80/smsACK" for the externally facing URL.

Thus, making it a static string. This could behave like, -if the path attribute is defined, then use the given string as a static path, otherwise, use a randomly generated string(as your interface works now).

This would allow me to know what URL to set back up and go back to listening to after a server failure or network outage or some other disaster.

Thanks,
Kevin