Hi Charles,
SpringCamelBuilder has a method to look up the bean's instance from the
application context.
Object bean(String beanName) in camel 1.x branch
<T> T lookup(String String beanName, Class<T> type) in camel trunk
So I think you should have no trouble to do this job :)
Willem
Charles Moulliard wrote:
> hi,
>
> Can we retrieve an endpoint using the id defined in a Spring XML file?
>
> <camel:endpoint id="QuickFixStreamEndpoint" uri="#{uriQuickFixStream}" />
>
> idea : exchange.getcontext().getEndpointId()
>
> Regards,
>
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
>