Answered by:
BizTalk real Time scenario

Question
-
Hello All,
There is real Time scenario, where i am having two send port ...
If port one is not available then only message needs to go to port two else needs to goes to port one.
Thanks...
Thanks and Regards, Nitin.
Tuesday, December 2, 2014 6:37 AM
Answers
-
Hello,
You can use Backuptransport feature in the sendport to achieve this behavior
http://msdn.microsoft.com/en-us/library/aa561842.aspxplease Mark as the Answer, If this answers your question. If this post is helpful, please vote as helpful.
- Proposed as answer by Maheshkumar S Tiwari Tuesday, December 2, 2014 6:56 AM
- Marked as answer by Angie Xu Monday, December 8, 2014 1:36 AM
Tuesday, December 2, 2014 6:40 AM -
You need to Configure Backup Transport Options for a Send Port.
follow below steps
1.Click Start, click Programs, click Microsoft BizTalk Server 2013 , and then click BizTalk Server Administration.
2.In the console tree, expand the BizTalk group and the BizTalk application for which you want to configure backup transport options for a send port.
3.Expand Send Ports, right-click the send port to configure, click Properties, and then click Backup Transport.
4.Configure backup transport properties for send port
How this works is well explained by Yosi Doshan
"BizTalk tries to deliver message based on the Primary Transport settings.Failure to trasmit will cause event 5743 to be written to the event log and, if retry is configured for the primary transport, the message will be retried n time (based on this configuration).If all the retry attempts failed, and a backup transport is configured, event 5742 will be logged to the event log and BizTalk will try to deliver the message using the Backup Transport"
- Edited by Abhishek0127[Abhishek kumar]MVP Tuesday, December 2, 2014 6:56 AM
- Proposed as answer by Maheshkumar S Tiwari Tuesday, December 2, 2014 6:57 AM
- Marked as answer by Angie Xu Monday, December 8, 2014 1:36 AM
Tuesday, December 2, 2014 6:48 AM
All replies
-
Hello,
You can use Backuptransport feature in the sendport to achieve this behavior
http://msdn.microsoft.com/en-us/library/aa561842.aspxplease Mark as the Answer, If this answers your question. If this post is helpful, please vote as helpful.
- Proposed as answer by Maheshkumar S Tiwari Tuesday, December 2, 2014 6:56 AM
- Marked as answer by Angie Xu Monday, December 8, 2014 1:36 AM
Tuesday, December 2, 2014 6:40 AM -
You need to Configure Backup Transport Options for a Send Port.
follow below steps
1.Click Start, click Programs, click Microsoft BizTalk Server 2013 , and then click BizTalk Server Administration.
2.In the console tree, expand the BizTalk group and the BizTalk application for which you want to configure backup transport options for a send port.
3.Expand Send Ports, right-click the send port to configure, click Properties, and then click Backup Transport.
4.Configure backup transport properties for send port
How this works is well explained by Yosi Doshan
"BizTalk tries to deliver message based on the Primary Transport settings.Failure to trasmit will cause event 5743 to be written to the event log and, if retry is configured for the primary transport, the message will be retried n time (based on this configuration).If all the retry attempts failed, and a backup transport is configured, event 5742 will be logged to the event log and BizTalk will try to deliver the message using the Backup Transport"
- Edited by Abhishek0127[Abhishek kumar]MVP Tuesday, December 2, 2014 6:56 AM
- Proposed as answer by Maheshkumar S Tiwari Tuesday, December 2, 2014 6:57 AM
- Marked as answer by Angie Xu Monday, December 8, 2014 1:36 AM
Tuesday, December 2, 2014 6:48 AM -
Hi, pls. check inside your code the status property of the sendport at the WMI interface or via btexplore object: http://msdn.microsoft.com/en-us/library/aa559751(v=bts.20).aspx hth Paul Endras Endras IT Consulting | www.endras.de If this answers your question and is a helpful post, please click Vote As Helpful, Propose As Answer, and/orMark As Answer.
- Edited by Paul Endras Tuesday, December 2, 2014 7:04 AM
Tuesday, December 2, 2014 6:52 AM -
Hi, the backup transport options are a big gain for reliability but are not obviously real-time.
I think Paul's solution is a better one as you can immediately know that the port is down. Perhaps that solution also needs a watcher (script) to bring it back on-line as soon as possible.
mark
Tuesday, December 2, 2014 11:58 AM