@Test
    public void testMQEntryWithoutRef() {
        final MockReceiver mockReceiver = new MockReceiver();
        RPCAnalysisListener listener = new RPCAnalysisListener(
            mockReceiver,
            CONFIG,
            CACHE,
            NAMING_CONTROL
        );

        final long startTime = System.currentTimeMillis();
        SpanObject spanObject = SpanObject.newBuilder()
                                          .setOperationName("/MQ/consumer")
                                          .setStartTime(startTime)
                                          .setEndTime(startTime + 1000L)
                                          .setIsError(true)
                                          .setSpanType(SpanType.Entry)
                                          .setSpanLayer(SpanLayer.MQ)
                                          .setPeer("mq-server:9090")
                                          .addTags(
                                              KeyStringValuePair.newBuilder()
                                                                .setKey(SpanTags.MQ_QUEUE)
                                                                .setValue("queue")
                                                                .build()
                                          ).build();
        final SegmentObject segment = SegmentObject.newBuilder()
                                                   .setService("mock-service")
                                                   .setServiceInstance("mock-instance")
                                                   .addSpans(spanObject)
                                                   .build();
        listener.parseEntry(spanObject, segment);
        listener.build();

        final List<ISource> receivedSources = mockReceiver.getReceivedSources();
        Assertions.assertEquals(5, receivedSources.size());
        final Service service = (Service) receivedSources.get(0);
        final ServiceInstance serviceInstance = (ServiceInstance) receivedSources.get(1);
        final ServiceRelation serviceRelation = (ServiceRelation) receivedSources.get(2);
        final ServiceInstanceRelation serviceInstanceRelation = (ServiceInstanceRelation) receivedSources.get(3);
        final Endpoint endpoint = (Endpoint) receivedSources.get(4);
        Assertions.assertEquals("mock-service", service.getName());
        Assertions.assertEquals("/MQ/consumer", service.getEndpointName());
        Assertions.assertEquals(RequestType.MQ, service.getType());
        Assertions.assertFalse(service.isStatus());
        Assertions.assertEquals("mock-instance", serviceInstance.getName());
        Assertions.assertEquals("/MQ/consumer", endpoint.getName());
        Assertions.assertEquals("mq-server:9090", serviceRelation.getSourceServiceName());
        Assertions.assertEquals("mock-service", serviceRelation.getDestServiceName());
        Assertions.assertEquals("mq-server:9090", serviceInstanceRelation.getSourceServiceInstanceName());
        Assertions.assertEquals("mock-instance", serviceInstanceRelation.getDestServiceInstanceName());

    }
Exit span, represent calling a 3rd party system, when the alias has been setup.
oap-server/server-receiver-plugin/skywalking-trace-receiver-plugin/src/test/java/org/apache/skywalking/oap/server/receiver/trace/provider/parser/listener/RPCAnalysisListenerTest.java