camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Problem with Camel,osgi-compendium and mvn camel:run
Date Mon, 14 Apr 2014 12:46:47 GMT
On Mon, Apr 14, 2014 at 12:37 AM, vrahul <vrahul1991@gmail.com> wrote:
> I am using   2.10.0.redhat-60024 version but still getting the same namespace
> not found exception.
> Is there is a way to run the compendium namespace camel file in fuse ide/mvn
> camel:run.
>

No you cannot use camel:run to bootup a jvm with spring-dm that uses
OSGi compendion or other OSGi sutff. It only works if the spring xml
files is not using any of the osgi pieces.

You can take a look at pax-exam and maybe use that to bootup a karaf
based container with your code and with spring-dm, then it would work
as its a realy osgi container.


>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Problem-with-Camel-osgi-compendium-and-mvn-camel-run-tp4598536p5750176.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message