locked
Retry Interval in Milliseconds? RRS feed

  • Question

  • Hi,

    is it possible to make the Retry Interval in milliseconds for dynamic send port ?

    myMessage(BTS.RetryInterval) = 5; //(in minutes)




    Thursday, August 4, 2016 8:34 AM

Answers

  • Hi ajitds,

    As per the MSDN,

    BTS.RetryInterval:

    Represents a message context property that specifies the time interval in minutes the engine waits between retries

    Also why do you require it to be in milliseconds, doesn't make any logical sense to set it to milli seconds rather set it to 0 as Arindam said.

    Regards,

    Mandar Dharmadhikari


    Mandar Dharmadhikari


    Thursday, August 4, 2016 8:45 AM
    Moderator
  • Hi Ajit

    If you want it to be retried immediately, you can set RetryInterval to 0.

    But, there is no way to specify RetryInterval in any other unit than minute(s).


    Thanks Arindam

    Thursday, August 4, 2016 9:00 AM
    Moderator

All replies

  • Hi ajitds,

    As per the MSDN,

    BTS.RetryInterval:

    Represents a message context property that specifies the time interval in minutes the engine waits between retries

    Also why do you require it to be in milliseconds, doesn't make any logical sense to set it to milli seconds rather set it to 0 as Arindam said.

    Regards,

    Mandar Dharmadhikari


    Mandar Dharmadhikari


    Thursday, August 4, 2016 8:45 AM
    Moderator
  • Hi Ajit

    If you want it to be retried immediately, you can set RetryInterval to 0.

    But, there is no way to specify RetryInterval in any other unit than minute(s).


    Thanks Arindam

    Thursday, August 4, 2016 9:00 AM
    Moderator
  • As highlighted earlier , there is no way to set this interval to milliseconds.

    What is the business requirement around this ? If this is very important you create custom retry in ur orchestration and set the retry interval at port to 0 and retry times to 0 and in orch catch the exception and then introduce ur needed delay and try the send again. Would be overdoing .. But really depends how critical piece of requirement is this for the business process.


    Pi_xel_xar

    Blog: My Blog

    BizTalkApplicationDeploymentTool: BizTalk Application Deployment Tool

    LinkedIn: LinkedIn

    Thursday, August 4, 2016 9:16 AM
    Answerer