简体   繁体   中英

Biztalk Orchestrations Managing BRE Failures

I have been having trouble managing Orchestrations and Business Rule Engines. I wish to capture, in my orchestration, a BRE failure so that if a BRE failure occurs I chose an alternate routing pattern. My orchestration in port is an MX receiving pipeline. From research I have been able to find the SWIFTErrorExtractor.ErrorExtractor but for some reason although my messages are failing with 6 BRE validation rules, my orchestration fails with an exception being unable to extract an error segment from my message.

The only way I was able to find the BRE failures was to enlist but not start my orchestration and enable my ports. Place the message in the "in" folder. Then from the main page, search for all suspended messages, and this message has the errors.

How can I capture these error descriptions?

Instead of implementing my message directly I implemented a multi part message. With the "Body" part being my message and the "Error" part being an XML document. When running my orchestration the "Error" part was automatically filled in with the validation errors. I was unable to find this any where online and got the solution staring at the suspended message in my BizTalk Admin Console. It had 2 parts a Body and Error. So I created the same multi part msg and it worked. I seriously doubted that would work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM