[ https://issues.apache.org/activemq/browse/SM-534?page=all ]
Soumadeep Sen updated SM-534: ----------------------------- Attachment: servicemix-bam.zip Updated the BAM component, now the rule is adaptor based and the bam processor takes a NormalizedMessage as an input. > Business Activity Monitoring Component > -------------------------------------- > > Key: SM-534 > URL: https://issues.apache.org/activemq/browse/SM-534 > Project: ServiceMix > Issue Type: New Feature > Components: servicemix-common > Reporter: Soumadeep Sen > Attachments: servicemix-bam-updated.zip, servicemix-bam.zip, > servicemix-bam.zip > > > This Business Activity Monitoring component which works off an xpath > expression. The xpath expression acts as a Key performance indicator. Based > on the xpath evaluation, actions can be triggered. These actions can be > implemented by users by extending the BAMAdaptor interface's execute method > which takes an array of BAMActionParameter. > For providing details in terms of Rules,Actions and global parameters, the > actions.xml, rules.xml and globalConfig.xml need to be populated. Sample > files can be found in the src/test/resources directory and usage details for > the BAMComponent can be found in the spring.xml file which is in the same > directory. > The relationship between actions and rules is established by id reference > where in the rules have actions IDs (no or more). Please refer the respective > xml files. > All implemented adaptor classes could be put in the option lib directory of > smx so that they can be referenced by the BAM processor. (A sample Adaptor > called PrintAdaptor has been provided in the src...samples dir for reference) > Will be putting a wiki page shortly which will have more details. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira