Only load part of XML/ SQL Snapshot in visual trace- portal loads too slow
As part of fully decoupling code we send a snapshot from a business service (running a SQL statement).
sql service Processor File Out
.png)
This is picked up by a processer and puts it into a file .txt.
Issue is if you open it up via the SQL.snapshot message as this is 46,819 rows it'll take too long to respond to opening up the sql.snapshot in the message viewer when viewing the session if looking from the business service
Is there any way to not have this xml open up in full in the portal? I.e. have a see more?
I am aware this could just be in the BP but for me this is the correct integration setup- SQL service to pick up the data- process to do something with it (passed in the correct message type for it) and then sent to a file/ downstream.
Comments
Sure, you have two approaches:
- Define a message class with
XMLPROJECTION=NONEfor the properties you want to skip - Redefine
%ShowContentsmethod for your message class to skip some of the properties (checkEns.Util.MessageBodyMethodsfor a sample implementation).
Sounds like a good idea to implement
Logged as DP-43704