We have been implementing several interfaces lately which are base64 encoded files being sent to our Document Management System. Those are obviously incredibly huge messages. We decided that we really don’t want to save those messages in their entirety, but would still like to save the non-base64 encoded parts of the message. I’m trying to figure out what the best way to do that is.
I feel like I could pretty easily do this in a separate smatdb, but I’d prefer to do this so its identical to all the other threads and saving into the db specified in thread properties. I’m not seeing a way to do that easily. I’m wondering if I can ‘manually’ save it in a tcl proc and then jump the message past the point where Cloverleaf would normally save it. The other option I see is to have a post-save tcl proc that would query the message out of the smatdb, then remove it, edit it and save it back in. We would want to do this on both inbound and outbound messages.
Has anyone attempted anything similar to this that could provide some pointers?
We are on Cloverleaf 19.1.2