Performance Impact - Message Creation
Hi all,
I have a general question about the performance of BizTalk when using external helper classes to generate messages.
This question is pertinent only for messages that are at max 30kb in size, nothing huge. I.e. i understand for large message streaming is important and is made defunct if attempting to load the message into a typed object, or vice-a-versa.
So, for my schemas I created the relevant .NET classes using XSD.exe
Now, when I want to create a message, I do the following in the message assignment shape.
VarMyMessage = MyHelpder.CreateMyMessage();
VarMyMessage.property = "somevalue";
MyMessage = VarMyMessage;
The question is, is this a good way of doign things? Is there a quicker/better way?
The same is true for incoming message. I like to convert them into the typed .NET Class (if I am going to need them during the orchestration) so that I no longer need to use distinguished/promoted fields, and can do actions like get a count on a repeated element.
Is this a bad mantra to follow? Any advice appreciated.
With kind regards
TM

