Assuming you've defined your processor like
<bean id="changeRequestInputExceptionProcessor"
class="com.mycompany.ChangeRequestControllerImpl"/>
You can reference it by using
processRef("changeRequestInputExceptionProcessor")
On Thu, Sep 25, 2008 at 6:19 PM, Mick Knutson <[EMAIL PROTECTED]>wrote:
> 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
>
--
Cheers,
Jon
http://janstey.blogspot.com/