<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    TransactionMonitoringAndVisualization
</h3>
<span style="margin-bottom: 10px;">
    new comment by <a href="https://community.jboss.org/people/jastrachan">James Strachan</a> <a href="https://community.jboss.org/docs/DOC-48255#comment-12353">View all comments on this document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>As an aside, we've added breadcrumbs to Apache Camel, ActiveMQ and CXF so that we try to pass breadcrumbs over camel message exchanges, ActiveMQ JMS message flows and CXF web service/REST invocations so its easy to link together log messages, events and messages.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>e.g. here's <a class="jive-link-external-small" href="http://camel.apache.org/mdc-logging.html" rel="nofollow">how Camel links the breadcrumbs to Java logging events</a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>then we've a plugin in <a class="jive-link-external-small" href="http://www.jboss.org/products/fuse">Fuse</a> to write log statements and camel messages to <a class="jive-link-external-small" href="http://www.elasticsearch.org/" rel="nofollow">ElasticSearch</a> (so its kinda like logstash) then we can query and correlate the message flow by a particular breadcrumbId. (We don't yet generate a nice summary record per breadcrumbId with start/stop timings or timings at each endpoint - which would make this metadata easier to query from tools like the Polymeta Dashboard console).</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here's <a class="jive-link-external-small" href="https://vimeo.com/68442425" rel="nofollow">a little screencast showing using the Fuse web tooling</a> which towards the end (maybe 8-10 mins in) shows the log searching and the camel message audit stuff which shows querying by breadcrumb ID - which is really just using <a class="jive-link-external-small" href="http://www.elasticsearch.org/" rel="nofollow">ElasticSearch</a> as the back end data store for querying data (via the Lucene query syntax) then the <a class="jive-link-external-small" href="http://three.kibana.org/" rel="nofollow">kibana web application</a> for viewing/querying/filtering the data.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>It'd be awesome to add better visualisation &amp; reporting of the overall business flows; though at least the basics - storing log messages &amp; camel message flows with bread crumbs is done - with ElasticSearch making it easy to query etc.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>If you wanna play with the code, you could clone the <a class="jive-link-external-small" href="https://github.com/jboss-fuse/fuse">Fuse github repo</a> and then <a class="jive-link-external-small" href="https://github.com/jboss-fuse/fuse#creating-a-fabric">create a Fabric</a>. If you wanna noodle the code that does the logging to ElasticSearch in Fuse, its <a class="jive-link-external-small" href="https://github.com/jboss-fuse/fuse/tree/master/insight/insight-elasticsearch">insight-elasticsearch</a> for log events and <a class="jive-link-external-small" href="https://github.com/jboss-fuse/fuse/tree/master/insight/insight-camel">insight-camel</a> for Camel message auditting.</p></div>

</td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>