I think that I have found :
bean(MemoryIdempotentRepository.class, "processedMessagesRepository"))
-->
lookup("processedMessagesRepository",MemoryIdempotentRepository.class))
Question : Can we use the lookup in an OSGI environement ?
KR,
Charles Moulliard
Senior Enterprise Architect (J2EE, .NET, SOA)
Apache Camel/ServiceMix Committer
*******************************************************************
- Blog : http://cmoulliard.blogspot.com
- Twitter : http://twitter.com/cmoulliard
- Linkedlin : http://www.linkedin.com/in/charlesmoulliard
On Mon, Jun 7, 2010 at 3:27 PM, Charles Moulliard <[email protected]> wrote:
> Hi,
>
> I try to convert an old transactional example where we have the
> following syntax which is not longer supported :
>
> .idempotentConsumer(header(Exchange.FILE_NAME),
> bean(MemoryIdempotentRepository.class,
> "processedMessagesRepository"))
>
> Can someone tell me How we can do that with camel 2.3
>
> KR,
>
> Charles Moulliard
>
> Senior Enterprise Architect (J2EE, .NET, SOA)
> Apache Camel/ServiceMix Committer
>
> *******************************************************************
> - Blog : http://cmoulliard.blogspot.com
> - Twitter : http://twitter.com/cmoulliard
> - Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>