开发者

Number of files received by a file receive location

Is there a way to calculate the number of files received by a receive location using BAM?开发者_如何学JAVA


Not really directly, unless you specifically created a metric for that on your observation model. BAM itself doesn't track that information otherwise, and things get a bit more complicated if you're doing debatching of messages in the receive pipeline (because then #messages != #files).


I use the API to come up with a list of every intersection of Orchestration and Receive Location and then report on 1) whether (and when) the file was picked up along with status of operation, and 2) whether (and when) the file went through orchestration along with status. It's lots of code but do-able. And of course as tomasr states if a file gets debatched into separate messages, the logic is only good for last message.

-Krip

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜