Wednesday, March 10, 2010

ESB Toolkit 2.0 and Exception Management

Ah the fun of exception management in ESB toolkit 2.0! Whatever you don't use only 'XML unsafe' characters in the name of your shapes. ESB Exception mechanism automatically promotes failure-specific and application-specific properties into the fault message context, setting the values from the current environment which among other things also include the service name and scope and if you happen to have XML unsafe character like , e.g, '&' in the name then good luck debugging the arcane exception happening on the CreateFaultMessage() method. I wasted good portion of my 'life' debugging it and don't wish that even upon my enemies.

No comments:

Post a Comment