2009/4/1 Martin Gilday :
> It turns out my colleague didn't have the Spring @RunWith registered
> with his test case. Once that was in place then the converter worked
> simply by adding @Autowired onto the required service component, and the
> Injector took care of the rest. No need for Applicatio
n the Exchange.
- Original message -
From: "James Strachan"
To: users@camel.apache.org
Date: Tue, 31 Mar 2009 11:47:26 +0100
Subject: Re: Type converters with Spring
2009/3/31 Martin Gilday :
> Thanks, we will give those a try.
>
> As your suggestions seem to differ
2009/3/31 Martin Gilday :
> Thanks, we will give those a try.
>
> As your suggestions seem to differ from what I quoted I am still
> interested in what the docs are referring to here
> http://camel.apache.org/type-converter.html Any ideas what it means by
> plugging in an Injector? I'll try and u
@camel.apache.org
> Date: Tue, 31 Mar 2009 12:04:27 +0200
> Subject: Re: Type converters with Spring
>
> Hi
>
> Or pass in Exchange as the 2nd parameter.
> Using Exchange you can get hold on the CamelContext and thus the
> registry as well, and do lookup for Spring beans.
>
on
is incorrect.
- Original message -
From: "Claus Ibsen"
To: users@camel.apache.org
Date: Tue, 31 Mar 2009 12:04:27 +0200
Subject: Re: Type converters with Spring
Hi
Or pass in Exchange as the 2nd parameter.
Using Exchange you can get hold on the CamelContext and thus the
regist
Hi
Or pass in Exchange as the 2nd parameter.
Using Exchange you can get hold on the CamelContext and thus the
registry as well, and do lookup for Spring beans.
On Tue, Mar 31, 2009 at 12:01 PM, James Strachan
wrote:
> 2009/3/31 Martin Gilday :
>> I'd like to have a converter which uses a Sprin
2009/3/31 Martin Gilday :
> I'd like to have a converter which uses a Spring @service to do lookups.
> According to the docs "If a converter requires configuration you can
> plug in an Injector interface to the DefaultTypeConverter which can
> construct and inject converter objects via Spring or G
I'd like to have a converter which uses a Spring @service to do lookups.
According to the docs "If a converter requires configuration you can
plug in an Injector interface to the DefaultTypeConverter which can
construct and inject converter objects via Spring or Guice."
I'm unsure what it means b