Elasticsearch and AMQP DefaultEventForwarder classes need @InOnly interface

Description

When testing the new Discovery code, I found that the DefaultDispatcher class used there doesn't send Camel message asynchronously unless the @Produce-annotated field has an interface that is annotated @InOnly.

In the event forwarder classes, we reused the org.opennms.netmgt.events.api.EventForwarder interface for the fields. Because that is a core API interface that shouldn't need to rely on a Camel dependency, we should make a copy or subclass of the interface that resides inside the event forwarding projects that has an @InOnly annotation.

Until this is done, event forwarding is probably synchronous within Eventd which could lead to performance problems.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Jesse White September 21, 2016 at 6:22 AM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created April 14, 2016 at 11:17 AM
Updated September 21, 2016 at 10:21 AM
Resolved September 21, 2016 at 6:22 AM

Flag notifications