Hi all,

I see juniper contrail plugin publishing events to message bus. It is causing a 
deadlock in a specific scenario. May I know the reason for the same.  The 
following is the code piece I am referring to and the corresponding event is 
not subscribed to far.

public void interceptComplete(Method method, Object target, Object event) {
    ActionEvent actionEvent = method.getAnnotation(ActionEvent.class);
    if (actionEvent != null) {
        CallContext ctx = CallContext.current();
        if (!actionEvent.create()) {
            publishOnMessageBus(EventCategory.ACTION_EVENT.getName(), 
actionEvent.eventType(), ctx.getEventDetails(), 
com.cloud.event.Event.State.Completed);
        }
    }
}

Thanks,
Subhash





DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Accelerite, a Persistent Systems business. It is intended only for 
the use of the individual or entity to which it is addressed. If you are not 
the intended recipient, you are not authorized to read, retain, copy, print, 
distribute or use this message. If you have received this communication in 
error, please notify the sender and delete all copies of this message. 
Accelerite, a Persistent Systems business does not accept any liability for 
virus infected mails.

Reply via email to