camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cristisor <>
Subject onCompletion not triggerd in testing
Date Wed, 13 Nov 2013 09:21:15 GMT

I am using the following route:

    protected void createRoute(Processor processor) {
                // the onCompletion callback ended and normal processing is

and I need to do some processing inside the syncProcessor when some other
messages have completed successfully. In deployment environment the route
works fine but the unit tests are always failing because
".process(syncProcessor)" is never triggered.

This is the outputEndpoint:
@EndpointInject(uri = "mock:output")
protected MockEndpoint resultEndpoint;

Could it be that the "mock:output" is not triggering the onCompletion event?


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message