You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by olamalam <il...@aspone.co.uk> on 2010/04/12 16:07:02 UTC

servicemix kernel & camel problem

Hi to all, 

I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which
uses camel-ftp component. 
My aim is to run this route: 
from("file://../data?noop=true").to("ftp://test@127.0.0.1:21/?password=test"); 
Although this route runs without problem in a stand alone application, when
i deploy it in serviceMix kernel 
I get FailedToCreateRouteException due to "No component found with scheme:
ftp". 

To solve the problem what i did so far are: 
1- deployed camel-ftp 2.2 bundle to serviceMix. 
2- added camel-ftp package (org.apache.camel.component.file.remote) to
import-packages. 
now when I run "headers bundle#" in serviceMix I can see this imported
package. 

What else I can do? 
Thanks in advance 
-- 
View this message in context: http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix kernel & camel problem

Posted by olamalam <il...@aspone.co.uk>.
Hello again Charles,

As you've suggested, I downloaded Karaf 1.4 and tried to install camel-ftp
on it but it is requesting some libraries (for ex: javax.xml.bind) included
in Java sdk. Should I also install those bundles too?

Please note that I run this command:
>osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0

Thanks again


cmoulliard wrote:
> 
> Hi,
> 
> ServiceMix Kernel does not longer exist and is now Apache Felix Karaf :
> http://felix.apache.org/site/apache-felix-karaf.html
> 
> So I propose that you use the last stable version of Karaf 1.4 with camel
> 2.2
> 
> Kind regards,
> 
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
> 
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> 
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> 
> 
> On Mon, Apr 12, 2010 at 4:07 PM, olamalam
> <il...@aspone.co.uk>wrote:
> 
>>
>> Hi to all,
>>
>> I'm trying to develop a hello world bundle for serviceMix kernel (1.1)
>> which
>> uses camel-ftp component.
>> My aim is to run this route:
>> from("file://../data?noop=true").to("ftp://test@
>> 127.0.0.1:21/?password=test");
>> Although this route runs without problem in a stand alone application,
>> when
>> i deploy it in serviceMix kernel
>> I get FailedToCreateRouteException due to "No component found with
>> scheme:
>> ftp".
>>
>> To solve the problem what i did so far are:
>> 1- deployed camel-ftp 2.2 bundle to serviceMix.
>> 2- added camel-ftp package (org.apache.camel.component.file.remote) to
>> import-packages.
>> now when I run "headers bundle#" in serviceMix I can see this imported
>> package.
>>
>> What else I can do?
>> Thanks in advance
>> --
>> View this message in context:
>> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28231922.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix kernel & camel problem

Posted by olamalam <il...@aspone.co.uk>.
Thanks Charles,
Regards


cmoulliard wrote:
> 
> As you have a workaround, use it on ServiceMix Kernel.
> 
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
> 
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> 
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> 
> 
> On Mon, Apr 12, 2010 at 4:41 PM, olamalam
> <il...@aspone.co.uk>wrote:
> 
>>
>> Hi Charles,
>>
>> It is on our road map but we can't to that migration right now. We have
>> so
>> many bundles running on ServiceMix Kernel on production. Can you suggest
>> a
>> work-around to solve this problem for Kernel?
>> Do you think that I wont have the same problem with Karaf 1.4?
>>
>> Thanks, regards
>> Ilker
>>
>>
>> cmoulliard wrote:
>> >
>> > Hi,
>> >
>> > ServiceMix Kernel does not longer exist and is now Apache Felix Karaf :
>> > http://felix.apache.org/site/apache-felix-karaf.html
>> >
>> > So I propose that you use the last stable version of Karaf 1.4 with
>> camel
>> > 2.2
>> >
>> > Kind regards,
>> >
>> > Charles Moulliard
>> > Senior Enterprise Architect
>> > Apache Camel Committer
>> >
>> > *****************************
>> > blog : http://cmoulliard.blogspot.com
>> > twitter : http://twitter.com/cmoulliard
>> > Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>> >
>> > Apache Camel Group :
>> > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>> >
>> >
>> > On Mon, Apr 12, 2010 at 4:07 PM, olamalam
>> > <il...@aspone.co.uk>wrote:
>> >
>> >>
>> >> Hi to all,
>> >>
>> >> I'm trying to develop a hello world bundle for serviceMix kernel (1.1)
>> >> which
>> >> uses camel-ftp component.
>> >> My aim is to run this route:
>> >> from("file://../data?noop=true").to("ftp://test@
>> >> 127.0.0.1:21/?password=test");
>> >> Although this route runs without problem in a stand alone application,
>> >> when
>> >> i deploy it in serviceMix kernel
>> >> I get FailedToCreateRouteException due to "No component found with
>> >> scheme:
>> >> ftp".
>> >>
>> >> To solve the problem what i did so far are:
>> >> 1- deployed camel-ftp 2.2 bundle to serviceMix.
>> >> 2- added camel-ftp package (org.apache.camel.component.file.remote) to
>> >> import-packages.
>> >> now when I run "headers bundle#" in serviceMix I can see this imported
>> >> package.
>> >>
>> >> What else I can do?
>> >> Thanks in advance
>> >> --
>> >> View this message in context:
>> >>
>> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > -----
>> > Charles Moulliard
>> > SOA Architect
>> >
>> > My Blog : http://cmoulliard.blogspot.com/
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218685.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28219148.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix kernel & camel problem

Posted by Charles Moulliard <cm...@gmail.com>.
As you have a workaround, use it on ServiceMix Kernel.

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Mon, Apr 12, 2010 at 4:41 PM, olamalam <il...@aspone.co.uk>wrote:

>
> Hi Charles,
>
> It is on our road map but we can't to that migration right now. We have so
> many bundles running on ServiceMix Kernel on production. Can you suggest a
> work-around to solve this problem for Kernel?
> Do you think that I wont have the same problem with Karaf 1.4?
>
> Thanks, regards
> Ilker
>
>
> cmoulliard wrote:
> >
> > Hi,
> >
> > ServiceMix Kernel does not longer exist and is now Apache Felix Karaf :
> > http://felix.apache.org/site/apache-felix-karaf.html
> >
> > So I propose that you use the last stable version of Karaf 1.4 with camel
> > 2.2
> >
> > Kind regards,
> >
> > Charles Moulliard
> > Senior Enterprise Architect
> > Apache Camel Committer
> >
> > *****************************
> > blog : http://cmoulliard.blogspot.com
> > twitter : http://twitter.com/cmoulliard
> > Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> >
> > Apache Camel Group :
> > http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> >
> >
> > On Mon, Apr 12, 2010 at 4:07 PM, olamalam
> > <il...@aspone.co.uk>wrote:
> >
> >>
> >> Hi to all,
> >>
> >> I'm trying to develop a hello world bundle for serviceMix kernel (1.1)
> >> which
> >> uses camel-ftp component.
> >> My aim is to run this route:
> >> from("file://../data?noop=true").to("ftp://test@
> >> 127.0.0.1:21/?password=test");
> >> Although this route runs without problem in a stand alone application,
> >> when
> >> i deploy it in serviceMix kernel
> >> I get FailedToCreateRouteException due to "No component found with
> >> scheme:
> >> ftp".
> >>
> >> To solve the problem what i did so far are:
> >> 1- deployed camel-ftp 2.2 bundle to serviceMix.
> >> 2- added camel-ftp package (org.apache.camel.component.file.remote) to
> >> import-packages.
> >> now when I run "headers bundle#" in serviceMix I can see this imported
> >> package.
> >>
> >> What else I can do?
> >> Thanks in advance
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > -----
> > Charles Moulliard
> > SOA Architect
> >
> > My Blog : http://cmoulliard.blogspot.com/
> >
>
> --
> View this message in context:
> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218685.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: servicemix kernel & camel problem

Posted by olamalam <il...@aspone.co.uk>.
Hi Charles,

It is on our road map but we can't to that migration right now. We have so
many bundles running on ServiceMix Kernel on production. Can you suggest a
work-around to solve this problem for Kernel?
Do you think that I wont have the same problem with Karaf 1.4?

Thanks, regards
Ilker


cmoulliard wrote:
> 
> Hi,
> 
> ServiceMix Kernel does not longer exist and is now Apache Felix Karaf :
> http://felix.apache.org/site/apache-felix-karaf.html
> 
> So I propose that you use the last stable version of Karaf 1.4 with camel
> 2.2
> 
> Kind regards,
> 
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
> 
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
> 
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
> 
> 
> On Mon, Apr 12, 2010 at 4:07 PM, olamalam
> <il...@aspone.co.uk>wrote:
> 
>>
>> Hi to all,
>>
>> I'm trying to develop a hello world bundle for serviceMix kernel (1.1)
>> which
>> uses camel-ftp component.
>> My aim is to run this route:
>> from("file://../data?noop=true").to("ftp://test@
>> 127.0.0.1:21/?password=test");
>> Although this route runs without problem in a stand alone application,
>> when
>> i deploy it in serviceMix kernel
>> I get FailedToCreateRouteException due to "No component found with
>> scheme:
>> ftp".
>>
>> To solve the problem what i did so far are:
>> 1- deployed camel-ftp 2.2 bundle to serviceMix.
>> 2- added camel-ftp package (org.apache.camel.component.file.remote) to
>> import-packages.
>> now when I run "headers bundle#" in serviceMix I can see this imported
>> package.
>>
>> What else I can do?
>> Thanks in advance
>> --
>> View this message in context:
>> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Charles Moulliard
> SOA Architect
> 
> My Blog : http://cmoulliard.blogspot.com/  
> 

-- 
View this message in context: http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218685.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: servicemix kernel & camel problem

Posted by Charles Moulliard <cm...@gmail.com>.
Hi,

ServiceMix Kernel does not longer exist and is now Apache Felix Karaf :
http://felix.apache.org/site/apache-felix-karaf.html

So I propose that you use the last stable version of Karaf 1.4 with camel
2.2

Kind regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm


On Mon, Apr 12, 2010 at 4:07 PM, olamalam <il...@aspone.co.uk>wrote:

>
> Hi to all,
>
> I'm trying to develop a hello world bundle for serviceMix kernel (1.1)
> which
> uses camel-ftp component.
> My aim is to run this route:
> from("file://../data?noop=true").to("ftp://test@
> 127.0.0.1:21/?password=test");
> Although this route runs without problem in a stand alone application, when
> i deploy it in serviceMix kernel
> I get FailedToCreateRouteException due to "No component found with scheme:
> ftp".
>
> To solve the problem what i did so far are:
> 1- deployed camel-ftp 2.2 bundle to serviceMix.
> 2- added camel-ftp package (org.apache.camel.component.file.remote) to
> import-packages.
> now when I run "headers bundle#" in serviceMix I can see this imported
> package.
>
> What else I can do?
> Thanks in advance
> --
> View this message in context:
> http://old.nabble.com/servicemix-kernel---camel-problem-tp28218239p28218239.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>