activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino" <hi...@hiramchirino.com>
Subject Re: Help: Using Camel routing in Equinox OSGi
Date Tue, 27 May 2008 14:33:26 GMT
I think this an area that is still being worked on (the osgi
support)..  ServiceMix 4 (basically an OSGi container using felix) is
working with the camel project to make your use case possible.  You
should post to either the Camel or the ServiceMix 4 dev lists.

On Thu, May 22, 2008 at 5:58 PM, paulu <paul.umbers@gmail.com> wrote:
>
> I'm probably missing something basic, but ...
>
> Camel 1.3.0, Equinox/Eclipse 3.3.2, ActiveMQ 5.1.0
>
> I'm trying to get Camel working in the Equinox/Eclipse OSGi container. I
> have a bundle which includes beans for processing messages from JMS/ActiveMQ
> queues (seperate broker, tcp connection), and a Java DSL-based router class
> which specifies the routes and beans to be used for processing. Outside of
> OSGi, all works fine.
>
> The whole thing is to be loaded by the Spring OSGi extender based on the
> content of the camel-context.xml file. I have all the necessary Spring
> bundles loaded & active, plus the camel bundles (and dependencies),
> including the camel-osgi bundle.
>
> When I start the container, everything loads OK - the camel-context is
> recognized and the beans created correctly, but I get the following error
> message when the Spring Extender or Camel tries to locate the RouteBuilder
> classes according to the package element:
>
> "SEVERE: Could not search jar file '\com\elluminate\maple\routers' for
> classes matching criteria: is assignable to RouteBuilder due to an
> IOException: \com\elluminate\maple\routers (The system cannot find the path
> specified)"
>
> I've been searching FAQs and forum postings all day, and looking for
> documentation for the camel-osgi bundle, but can't find any explanation. Am
> I missing some piece of camel-osgi configuration? Do I need to use a
> different camel-context.xml configuration?
>
> Basically, how do I get the Spring Extender/Camel to search my bundle for
> the RouteBuilder classes?
>
> The camel-example-osgi hasn't given me any clues, nor has looking at the
> source for the camel-osgi bundle.
>
> Can anybody help?
> --
> View this message in context: http://www.nabble.com/Help%3A-Using-Camel-routing-in-Equinox-OSGi-tp17414374s2354p17414374.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Mime
View raw message