<commit_before>Axon plugin for Spring Insight
==============================

This project provides a plugin for the Axon framework that can be used with 
[Spring Insight](http://www.springsource.org/insight). It supports Axon 1.x
versions as well as the 2.0 version that's under development at the time of
writing.

It creates `Operation` instances for `CommandBus#dispatch`,
`EventBus#publish`, `Saga#handle` and event and command handler methods (both
annotated methods and interface-based implementations are matched). In
addition to that, there are `EndPointAnalyzer` implementations for the handler
methods: a simple one for sagas, and two for command and event handlers that
check that the handle invocations take place in the context of their
corresponding bus. Command and event types are captured, as well as additional
metadata where available.

Here's an example of a trace containing Axon frames: ![screenshot](screenshot.png)

Usage
-----

Simply build the project using `mvn package` and then copy the resulting jar
file from the `target` directory into the `insight/collection-plugins`
directory of your Spring Insight-enabled tc Server instance. 

On (re)starting the server, the plugin will be enabled automatically.<commit_msg>fixed the path to the image in the read me file<commit_after>Axon plugin for Spring Insight
==============================

This project provides a plugin for the Axon framework that can be used with 
[Spring Insight](http://www.springsource.org/insight). It supports Axon 1.x
versions as well as the 2.0 version that's under development at the time of
writing.

It creates `Operation` instances for `CommandBus#dispatch`,
`EventBus#publish`, `Saga#handle` and event and command handler methods (both
annotated methods and interface-based implementations are matched). In
addition to that, there are `EndPointAnalyzer` implementations for the handler
methods: a simple one for sagas, and two for command and event handlers that
check that the handle invocations take place in the context of their
corresponding bus. Command and event types are captured, as well as additional
metadata where available.

Here's an example of a trace containing Axon frames: ![screenshot](https://github.com/AxonFramework/AxonFramework/edit/master/spring-insight-plugin/screenshot.png)

Usage
-----

Simply build the project using `mvn package` and then copy the resulting jar
file from the `target` directory into the `insight/collection-plugins`
directory of your Spring Insight-enabled tc Server instance. 

On (re)starting the server, the plugin will be enabled automatically.
{'fraction_non_alphanumeric': 0.08131952435749903, 'fraction_numerical': 0.0023014959723820483, 'mean_word_length': 5.269230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6516869', 'n_tokens_mistral': 663, 'n_tokens_neox': 630, 'n_words': 337}