camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MeBigFatGuy <>
Subject Question about
Date Tue, 10 Jun 2008 01:14:13 GMT

    public QuartzExchange createExchange(ExchangePattern pattern) {
        return new QuartzExchange(getCamelContext(), pattern, null);
    public QuartzExchange(CamelContext context, ExchangePattern pattern,
JobExecutionContext jobExecutionContext) {
        super(context, pattern);
        setIn(new QuartzMessage(this, jobExecutionContext));
    public QuartzMessage(QuartzExchange exchange, JobExecutionContext
jobExecutionContext) {
        this.jobExecutionContext = jobExecutionContext;

looks to me that null in the first code block, gets passed down in the
QuartzMessage ctor, and is dereferenced there. Seems like it always creates
NPEs, to me.

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

View raw message