Hi everyone,
First post, so be gentle and apologies if I’m in the work place or anything!
We have a requirement to bill clients by the byte size of data flowing through our system. Billing is done on a per-client basis, so global figures are no good.
Therefore we need to know the byte size of each file/message passing through our webMethods system. (We will then log this data in Oracle for reporting on).
I’ve searched both here and advantage and haven’t managed to find anything specific to my need.
For the moment I’ve written a simple flow service that just converts the byte steam to a string, then checks the length. This works fine with small files, although I suspect it’s not a very efficient way of doing it.
But the above process gets very slow, or falls over completely with larger files.
Our average file size is probably going to be around 5-10KB, but some interfaces will have 50-100MB files.
So is there any straightforward way of getting the exact byte size of data passing through wM?
I guess we could end up with two ways of doing it, small files throught the string length route, large files through a different route alltogether.
System info:
webMethods 6.5 running on AIX 5.3
Just in case it makes any difference, we don’t use Broker.
The data can come by multiple sources, FTP, file polling, MQ etc. So something that isn’t reliant on the transport method would be preferable.
Plus we increased the Java Max mem from 512MB to 1024MB.
Also I’m relatively new to wM, so please don’t blind me techno speak
Thanks in advance for any help,
Mark.