Hi

Use bean instead:
        ).bean("mySpringBeanId")

AFAIR we don't have a process that accepts a reference to an existing 
implementation to be looked up in the registry (= usually spring xml)



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: Mick Knutson [mailto:[EMAIL PROTECTED] 
Sent: 25. september 2008 22:50
To: Camel
Subject: Question about routing using a Processor from Spring/Camel

I have the following route:

        from(Constants.REQUEST_INPUT_CHANNEL).errorHandler(
                deadLetterChannel(Constants.REQUEST_INPUT_ERROR_CHANNEL)
//.maximumRedeliveries(2)
                        //.initialRedeliveryDelay(1)
                        .loggingLevel(LoggingLevel.INFO)
        ).process*(new ChangeRequestControllerImpl())*
                .to(Constants.REQUEST_OUTPUT_CHANNEL);

    }

My changeRequestInputExceptionProcessor is already in my camel-context.xml
so how do I get access to it in my route verse creating a *new
ChangeRequestControllerImpl() *?




-- 
---
Thank You...

Mick Knutson
BASE Logic, inc.
(415) 354-4215

Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com

Reply via email to