camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject camel cdi extension
Date Wed, 04 Jul 2012 22:57:28 GMT
Hi,

following a discussion on deltaspike IRC channel i created a small CDI
extension camel oriented -->
https://github.com/rmannibucau/camel-cdi-extension

the idea is to decorate route builders with @CamelContextConfig(contextName
= "xxxx") and then be able to get injected the context directly:

     @Inject
    @CamelContextId("context1")
    private CamelContext ctx1;


Currently the context is created when needed (injection time) and destroyed
with the application.

That's more a poc than something completely done but was to let you know (I
know some work is done and the question on the way to start a context is
not totally completed).

- Romain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message