[jboss-jira] [JBoss JIRA] (WFLY-11771) Tracing: The active span is null in the EJB interceptor for the MDB onMessage

Andrej Petras (Jira) issues at jboss.org
Sun Feb 24 11:56:00 EST 2019


Andrej Petras created WFLY-11771:
------------------------------------

             Summary: Tracing: The active span is null in the EJB interceptor for the MDB onMessage
                 Key: WFLY-11771
                 URL: https://issues.jboss.org/browse/WFLY-11771
             Project: WildFly
          Issue Type: Bug
          Components: EJB, MP OpenTracing
    Affects Versions: 15.0.1.Final
            Reporter: Andrej Petras
            Assignee: Jeff Mesnil
         Attachments: mdb-tracer-jeager.png, mdb-tracer.zip

The onMessage method for the MessageDrivenBean is traced but the active span is null in the EJB interceptor. 

{code:java}
        if (tracer.activeSpan() == null) {
            log.warn("No active span in the EJB interceptor!!!! Class:{} Method:{}", ic.getTarget().getClass(), ic.getMethod().getName());
        }
{code}

Motivation: I would like to extend the information (tag,log) in the active span from the EJB interceptor.





--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list