    @Test
    public void testInvalidMessageExchangeDoesNotThrowException() throws Exception {

        // sending a message to start the producers and create the external endpoint
        client.sendBody("direct:a", "<hello>world</hello>");
        
        String endpointName = 
            jbiContainer.getRegistry().getExternalEndpointsForService(CamelConsumerEndpoint.SERVICE_NAME)[0].getEndpointName();
        CamelConsumerEndpoint endpoint = 
            (CamelConsumerEndpoint) component.getRegistry().getEndpoint(CamelConsumerEndpoint.SERVICE_NAME + ":" + endpointName);
        
        try {
            // now, let's shamelessly process a completely fake MessageExchange...
            endpoint.process(new MockMessageExchange() {
                @Override
                public String getExchangeId() {
                    return "a-fake-exchange-id";
                }
            });
        } catch (Exception e) {
            // ... and still expect the endpoint to behave properly
            fail("Should not throw " + e);
        }
    }