Provides TIBCO BusinessWorks with the ability to gzip/gunzip Strings directly within the BusinessWorks mapper. Particularly useful if you want to store large strings - such as XML Payloads in a database or other store but want it compressed to save space.
Works for TIBCO BusinessWorks 6.x. Built using BW 6.4.1 but should work with all previous and upcoming BW 6.x versions.
You will need to be using JRE 1.8 as it utilises java.util.zip.GZIPInputStream and java.util.zip.GZIPOutputStream
Full source is incuded. Use eGit within BusinessWorks to clone this repository into your Workspace.
Once cloned, right click on the project (compressFunctions), choose Export, choose Deployable Plugins and Fragments
Make sure you select Install into Host Repository. You will have to accept the unsigned installation and restart BusinessWorks
The functions will appear in the Functions tab of the Mapper. There are two functions:
gzip gunzip
Both take a String as input, with an optional debug paramter which can be set to true or false.
Using the Compress Functions in the TIBCO BusinessWorks Mapper: