Project: talendesb
Issue TESB-6710: When adding the sam feature to the cxf bus instead of a single endpoint the monitoring service call is logged and goes into recursion
Normally the evenFeature is added into the endpoint or client. In some cases it makes sense to simply add the feature to the cxf bus. For example when using the camel from("cxf:address") there is no endpoint bean to add the sam feature to. So you add the evenFeature into In this case every service call triggers the monitoring service call. Then the monitoring service call triggers the monitoring which triggers the monitoring .... So a simple solution would be to filter out all service calls that originate from the monitoring service. This would make the above case simpler and even allow to offer the monitoring feature as a osgi service to enable it for all cxf services in a tesb runtime.
Story points: 2