You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by NagendraCorpus <ma...@gmail.com> on 2010/02/08 10:22:23 UTC

Camel components not working inside felix

hi 
I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
i am trying to use camel sql component in camel routing with felix , but sql
component routing is not working inside felix . file and bean components are
working but remaining camel components are not working ,inorder to work
camel sql routing ,which bundles i have to deploy inside felix ,please reply
soon .

Thanks and Regards
M.Nagendra
-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497195.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.


Hi,

I am sending my manifest ,please let me know any thing   wrong i am doing .

Thanks,
Nagendra. http://old.nabble.com/file/p27497576/MANIFEST.MF MANIFEST.MF 

S. Ali Tokmen-4 wrote:
> 
> Hello
> 
> We have been able of doing routes that start with file endpoints, do 
> transformations on them, call SQL via a route (Oracle database) and 
> generate other files.
> 
> The only difference is that we don't use Spring, we use pure OSGi and 
> iPOJO under Apache Felix.
> 
> Please send in a stack trace, I'm pretty sure you've having a bundle 
> import-export issue.
> 
> Cheers
> 
> S. Ali Tokmen
> savas-ali.tokmen@bull.net
> 
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
> 
> Bull, Architect of an Open World TM
> http://www.bull.com
> 
> 
> Le 08/02/2010 10:32, Willem Jiang a écrit :
>> What kind of error did you get ?
>> Can you past the stack trace?
>>
>> Willem
>>
>> NagendraCorpus wrote:
>>> hi I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>> i am trying to use camel sql component in camel routing with felix , 
>>> but sql
>>> component routing is not working inside felix . file and bean 
>>> components are
>>> working but remaining camel components are not working ,inorder to work
>>> camel sql routing ,which bundles i have to deploy inside felix 
>>> ,please reply
>>> soon .
>>>
>>> Thanks and Regards
>>> M.Nagendra
>>
>>
>>
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497576.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.

Hi Ali ,

Any solution  for my problem .

Thanks
Nagendra


S. Ali Tokmen-4 wrote:
> 
> Hello
> 
> We have been able of doing routes that start with file endpoints, do 
> transformations on them, call SQL via a route (Oracle database) and 
> generate other files.
> 
> The only difference is that we don't use Spring, we use pure OSGi and 
> iPOJO under Apache Felix.
> 
> Please send in a stack trace, I'm pretty sure you've having a bundle 
> import-export issue.
> 
> Cheers
> 
> S. Ali Tokmen
> savas-ali.tokmen@bull.net
> 
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
> 
> Bull, Architect of an Open World TM
> http://www.bull.com
> 
> 
> Le 08/02/2010 10:32, Willem Jiang a écrit :
>> What kind of error did you get ?
>> Can you past the stack trace?
>>
>> Willem
>>
>> NagendraCorpus wrote:
>>> hi I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>> i am trying to use camel sql component in camel routing with felix , 
>>> but sql
>>> component routing is not working inside felix . file and bean 
>>> components are
>>> working but remaining camel components are not working ,inorder to work
>>> camel sql routing ,which bundles i have to deploy inside felix 
>>> ,please reply
>>> soon .
>>>
>>> Thanks and Regards
>>> M.Nagendra
>>
>>
>>
>>
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497858.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by "S. Ali Tokmen" <sa...@bull.net>.
Hello

We have been able of doing routes that start with file endpoints, do 
transformations on them, call SQL via a route (Oracle database) and 
generate other files.

The only difference is that we don't use Spring, we use pure OSGi and 
iPOJO under Apache Felix.

Please send in a stack trace, I'm pretty sure you've having a bundle 
import-export issue.

Cheers

S. Ali Tokmen
savas-ali.tokmen@bull.net

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com


Le 08/02/2010 10:32, Willem Jiang a écrit :
> What kind of error did you get ?
> Can you past the stack trace?
>
> Willem
>
> NagendraCorpus wrote:
>> hi I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>> i am trying to use camel sql component in camel routing with felix , 
>> but sql
>> component routing is not working inside felix . file and bean 
>> components are
>> working but remaining camel components are not working ,inorder to work
>> camel sql routing ,which bundles i have to deploy inside felix 
>> ,please reply
>> soon .
>>
>> Thanks and Regards
>> M.Nagendra
>
>
>
>


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.


hi 

I am attached my manifest also , just see please whether i am doing any
thing wrong in that file(import or export ).
Thanks ,
Nagendra.

NagendraCorpus wrote:
> 
> 
> 
> hi Thanks for reply ,
>      http://old.nabble.com/file/p27497508/CamelRoute.java CamelRoute.java 
> 
> please find my attached file , in that way i am doing routing 
> 
> Thanks 
> Nagendra.M
> 
> 
> S. Ali Tokmen-4 wrote:
>> 
>> Hello
>> 
>> How did you deploy your route? As part of a bundle?
>> 
>> Do you have any route startup messages on the Felix console?
>> 
>> Cheers
>> 
>> S. Ali Tokmen
>> savas-ali.tokmen@bull.net
>> 
>> Office: +33 4 76 29 76 19
>> GSM:    +33 66 43 00 555
>> 
>> Bull, Architect of an Open World TM
>> http://www.bull.com
>> 
>> 
>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>> Hi willem thanks for reply ,i am not getting any error inside felix it
>>> not
>>> showing any errors  ,but sql route is not executing .
>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>   72] [Active     ] [    1] spring (2.5.0)
>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>
>>> these are the bundles are deployed inside felix , please let me know any
>>> wrong i did .
>>>
>>>
>>>
>>>
>>> willem.jiang wrote:
>>>    
>>>> What kind of error did you get ?
>>>> Can you past the stack trace?
>>>>
>>>> Willem
>>>>
>>>> NagendraCorpus wrote:
>>>>      
>>>>> hi
>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>> i am trying to use camel sql component in camel routing with felix ,
>>>>> but
>>>>> sql
>>>>> component routing is not working inside felix . file and bean
>>>>> components
>>>>> are
>>>>> working but remaining camel components are not working ,inorder to
>>>>> work
>>>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>>>> reply
>>>>> soon .
>>>>>
>>>>> Thanks and Regards
>>>>> M.Nagendra
>>>>>        
>>>>
>>>>
>>>>      
>>>    
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497541.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.


hi Thanks for reply ,
     http://old.nabble.com/file/p27497508/CamelRoute.java CamelRoute.java 

please find my attached file , in that way i am doing routing 

Thanks 
Nagendra.M


S. Ali Tokmen-4 wrote:
> 
> Hello
> 
> How did you deploy your route? As part of a bundle?
> 
> Do you have any route startup messages on the Felix console?
> 
> Cheers
> 
> S. Ali Tokmen
> savas-ali.tokmen@bull.net
> 
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
> 
> Bull, Architect of an Open World TM
> http://www.bull.com
> 
> 
> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>> Hi willem thanks for reply ,i am not getting any error inside felix it
>> not
>> showing any errors  ,but sql route is not executing .
>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>   24] [Active     ] [    1] camel-core (2.1.0)
>>   25] [Active     ] [    1] Commons Management (1.0)
>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>   58] [Active     ] [    1] spring-context (2.5.1)
>>   59] [Active     ] [    1] spring-core (2.5.1)
>>   72] [Active     ] [    1] spring (2.5.0)
>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>
>> these are the bundles are deployed inside felix , please let me know any
>> wrong i did .
>>
>>
>>
>>
>> willem.jiang wrote:
>>    
>>> What kind of error did you get ?
>>> Can you past the stack trace?
>>>
>>> Willem
>>>
>>> NagendraCorpus wrote:
>>>      
>>>> hi
>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>> i am trying to use camel sql component in camel routing with felix ,
>>>> but
>>>> sql
>>>> component routing is not working inside felix . file and bean
>>>> components
>>>> are
>>>> working but remaining camel components are not working ,inorder to work
>>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>>> reply
>>>> soon .
>>>>
>>>> Thanks and Regards
>>>> M.Nagendra
>>>>        
>>>
>>>
>>>      
>>    
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497508.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.


Hi willieam,

I am using springdm with osgi ,what ever i send in that application.i am
thinking may be it is problem with springdm 

Thanks ,
Nagendra

NagendraCorpus wrote:
> 
> 
> Hi williem  ,
> 
> Thanks for replay,i am using spring configuration to start bundle , i am
> sending whole application zip , please check and let me know i am doing
> any thing wrong.
> 
> Thanks,
> Nagendra.M
>  http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 
> 
> willem.jiang wrote:
>> 
>> Hi,
>> 
>> How can your CamelRoute.start be called ?
>> I don't find there are any bundle activator in the MANIFEST.MF/
>> Can you try to use spring configuration to start up the camelcontext?
>> Please take a look at the camel-example-osgi that I showed to you.
>> 
>> Willem
>> NagendraCorpus wrote:
>>> Hi williem,
>>> 
>>> I am not using spring DSL , i am using java DSL, i am attaching my
>>> routing
>>> java file and manifest , please see and 
>>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java let
>>> me
>>> know any thing wrong i am doing .
>>> 
>>> Thanks 
>>> Nagendra.M
>>> 
>>> 
>>> willem.jiang wrote:
>>>> Did you put the spring configuration which holds the camelcontext into 
>>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>>> the camel context ?
>>>>
>>>> If not, please take a look at the camel-example-osgi[1].
>>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>>
>>>> Willem
>>>>
>>>> S. Ali Tokmen wrote:
>>>>> Hello
>>>>>
>>>>> How did you deploy your route? As part of a bundle?
>>>>>
>>>>> Do you have any route startup messages on the Felix console?
>>>>>
>>>>> Cheers
>>>>>
>>>>> S. Ali Tokmen
>>>>> savas-ali.tokmen@bull.net
>>>>>
>>>>> Office: +33 4 76 29 76 19
>>>>> GSM:    +33 66 43 00 555
>>>>>
>>>>> Bull, Architect of an Open World TM
>>>>> http://www.bull.com
>>>>>
>>>>>
>>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>>> Hi willem thanks for reply ,i am not getting any error inside felix
>>>>>> it 
>>>>>> not
>>>>>> showing any errors  ,but sql route is not executing .
>>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>>>>
>>>>>> these are the bundles are deployed inside felix , please let me know
>>>>>> any
>>>>>> wrong i did .
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> willem.jiang wrote:
>>>>>>   
>>>>>>> What kind of error did you get ?
>>>>>>> Can you past the stack trace?
>>>>>>>
>>>>>>> Willem
>>>>>>>
>>>>>>> NagendraCorpus wrote:
>>>>>>>     
>>>>>>>> hi
>>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>>>> i am trying to use camel sql component in camel routing with felix
>>>>>>>> , 
>>>>>>>> but
>>>>>>>> sql
>>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>>> components
>>>>>>>> are
>>>>>>>> working but remaining camel components are not working ,inorder to
>>>>>>>> work
>>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>>> ,please
>>>>>>>> reply
>>>>>>>> soon .
>>>>>>>>
>>>>>>>> Thanks and Regards
>>>>>>>> M.Nagendra
>>>>>>>>        
>>>>>>>
>>>>>>>      
>>>>>>    
>>>>>
>>>>
>>>>
>>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27498189.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.
Hi Williem,

I want to use with spring dm osgi with camel,so if we use spring dm in osgi
, i think bundlecontext not required to write .

Thanks,
Nagendra


NagendraCorpus wrote:
> 
> 
> Hi williem,
> Very thanks for replay ,  can you please send some sample code for camel
> sql osgi routing inside felix 
> Thanks,
> Nagendra 
> 
> 
> willem.jiang wrote:
>> 
>> Hi,
>> 
>> You can't use the DefaultCamelContext in the OSGi platform,
>> As the DefaultCamelContext's class resolver and FactoryFinder can't work 
>> rightly within OSGi platform.
>> 
>> You need to use the CamelContextFactory[1] in the camel-osgi bundle to 
>> create a CamelContext after setting the bundle context.
>> 
>> BTW, Spring-dm will setBundleContext if the bean class implements the 
>> BundleContextAware interface.
>> 
>> [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/CamelContextFactory.java
>> 
>> Willem
>> 
>> NagendraCorpus wrote:
>>> 
>>> Hi williem  ,
>>> 
>>> Thanks for replay,i am using spring configuration to start bundle , i am
>>> sending whole application zip , please check and let me know i am doing
>>> any
>>> thing wrong.
>>> 
>>> Thanks,
>>> Nagendra.M
>>> http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 
>>> 
>>> willem.jiang wrote:
>>>> Hi,
>>>>
>>>> How can your CamelRoute.start be called ?
>>>> I don't find there are any bundle activator in the MANIFEST.MF/
>>>> Can you try to use spring configuration to start up the camelcontext?
>>>> Please take a look at the camel-example-osgi that I showed to you.
>>>>
>>>> Willem
>>>> NagendraCorpus wrote:
>>>>> Hi williem,
>>>>>
>>>>> I am not using spring DSL , i am using java DSL, i am attaching my
>>>>> routing
>>>>> java file and manifest , please see and 
>>>>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>>>>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java
>>>>> let
>>>>> me
>>>>> know any thing wrong i am doing .
>>>>>
>>>>> Thanks 
>>>>> Nagendra.M
>>>>>
>>>>>
>>>>> willem.jiang wrote:
>>>>>> Did you put the spring configuration which holds the camelcontext
>>>>>> into 
>>>>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>>>>> the camel context ?
>>>>>>
>>>>>> If not, please take a look at the camel-example-osgi[1].
>>>>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>>>>
>>>>>> Willem
>>>>>>
>>>>>> S. Ali Tokmen wrote:
>>>>>>> Hello
>>>>>>>
>>>>>>> How did you deploy your route? As part of a bundle?
>>>>>>>
>>>>>>> Do you have any route startup messages on the Felix console?
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> S. Ali Tokmen
>>>>>>> savas-ali.tokmen@bull.net
>>>>>>>
>>>>>>> Office: +33 4 76 29 76 19
>>>>>>> GSM:    +33 66 43 00 555
>>>>>>>
>>>>>>> Bull, Architect of an Open World TM
>>>>>>> http://www.bull.com
>>>>>>>
>>>>>>>
>>>>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>>>>> Hi willem thanks for reply ,i am not getting any error inside felix
>>>>>>>> it 
>>>>>>>> not
>>>>>>>> showing any errors  ,but sql route is not executing .
>>>>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>>>>   79] [Active     ] [    1] Apache Commons CSV
>>>>>>>> (1.0.0.BUILD-20080106)
>>>>>>>>
>>>>>>>> these are the bundles are deployed inside felix , please let me
>>>>>>>> know
>>>>>>>> any
>>>>>>>> wrong i did .
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> willem.jiang wrote:
>>>>>>>>   
>>>>>>>>> What kind of error did you get ?
>>>>>>>>> Can you past the stack trace?
>>>>>>>>>
>>>>>>>>> Willem
>>>>>>>>>
>>>>>>>>> NagendraCorpus wrote:
>>>>>>>>>     
>>>>>>>>>> hi
>>>>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1
>>>>>>>>>> ,
>>>>>>>>>> i am trying to use camel sql component in camel routing with
>>>>>>>>>> felix , 
>>>>>>>>>> but
>>>>>>>>>> sql
>>>>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>>>>> components
>>>>>>>>>> are
>>>>>>>>>> working but remaining camel components are not working ,inorder
>>>>>>>>>> to
>>>>>>>>>> work
>>>>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>>>>> ,please
>>>>>>>>>> reply
>>>>>>>>>> soon .
>>>>>>>>>>
>>>>>>>>>> Thanks and Regards
>>>>>>>>>> M.Nagendra
>>>>>>>>>>        
>>>>>>>>>      
>>>>>>>>    
>>>>>>
>>>>
>>>>
>>> 
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27498697.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by Willem Jiang <wi...@gmail.com>.
Hi Nagendra,

I'm afraid I can't help you more,
If you want a POC or working sample, you may consider a commercial 
support of camel[1]

[1] http://camel.apache.org/support.html#Support-CommercialSupport

Willem
NagendraCorpus wrote:
> 
> Hi williem,
> Very thanks for replay ,  can you please send some sample code for camel sql
> osgi routing inside felix 
> Thanks,
> Nagendra 
> 
> 
> willem.jiang wrote:
>> Hi,
>>
>> You can't use the DefaultCamelContext in the OSGi platform,
>> As the DefaultCamelContext's class resolver and FactoryFinder can't work 
>> rightly within OSGi platform.
>>
>> You need to use the CamelContextFactory[1] in the camel-osgi bundle to 
>> create a CamelContext after setting the bundle context.
>>
>> BTW, Spring-dm will setBundleContext if the bean class implements the 
>> BundleContextAware interface.
>>
>> [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/CamelContextFactory.java
>>
>> Willem
>>
>> NagendraCorpus wrote:
>>> Hi williem  ,
>>>
>>> Thanks for replay,i am using spring configuration to start bundle , i am
>>> sending whole application zip , please check and let me know i am doing
>>> any
>>> thing wrong.
>>>
>>> Thanks,
>>> Nagendra.M
>>> http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 
>>>
>>> willem.jiang wrote:
>>>> Hi,
>>>>
>>>> How can your CamelRoute.start be called ?
>>>> I don't find there are any bundle activator in the MANIFEST.MF/
>>>> Can you try to use spring configuration to start up the camelcontext?
>>>> Please take a look at the camel-example-osgi that I showed to you.
>>>>
>>>> Willem
>>>> NagendraCorpus wrote:
>>>>> Hi williem,
>>>>>
>>>>> I am not using spring DSL , i am using java DSL, i am attaching my
>>>>> routing
>>>>> java file and manifest , please see and 
>>>>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>>>>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java
>>>>> let
>>>>> me
>>>>> know any thing wrong i am doing .
>>>>>
>>>>> Thanks 
>>>>> Nagendra.M
>>>>>
>>>>>
>>>>> willem.jiang wrote:
>>>>>> Did you put the spring configuration which holds the camelcontext into 
>>>>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>>>>> the camel context ?
>>>>>>
>>>>>> If not, please take a look at the camel-example-osgi[1].
>>>>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>>>>
>>>>>> Willem
>>>>>>
>>>>>> S. Ali Tokmen wrote:
>>>>>>> Hello
>>>>>>>
>>>>>>> How did you deploy your route? As part of a bundle?
>>>>>>>
>>>>>>> Do you have any route startup messages on the Felix console?
>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> S. Ali Tokmen
>>>>>>> savas-ali.tokmen@bull.net
>>>>>>>
>>>>>>> Office: +33 4 76 29 76 19
>>>>>>> GSM:    +33 66 43 00 555
>>>>>>>
>>>>>>> Bull, Architect of an Open World TM
>>>>>>> http://www.bull.com
>>>>>>>
>>>>>>>
>>>>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>>>>> Hi willem thanks for reply ,i am not getting any error inside felix
>>>>>>>> it 
>>>>>>>> not
>>>>>>>> showing any errors  ,but sql route is not executing .
>>>>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>>>>   79] [Active     ] [    1] Apache Commons CSV
>>>>>>>> (1.0.0.BUILD-20080106)
>>>>>>>>
>>>>>>>> these are the bundles are deployed inside felix , please let me know
>>>>>>>> any
>>>>>>>> wrong i did .
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> willem.jiang wrote:
>>>>>>>>   
>>>>>>>>> What kind of error did you get ?
>>>>>>>>> Can you past the stack trace?
>>>>>>>>>
>>>>>>>>> Willem
>>>>>>>>>
>>>>>>>>> NagendraCorpus wrote:
>>>>>>>>>     
>>>>>>>>>> hi
>>>>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>>>>>> i am trying to use camel sql component in camel routing with felix
>>>>>>>>>> , 
>>>>>>>>>> but
>>>>>>>>>> sql
>>>>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>>>>> components
>>>>>>>>>> are
>>>>>>>>>> working but remaining camel components are not working ,inorder to
>>>>>>>>>> work
>>>>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>>>>> ,please
>>>>>>>>>> reply
>>>>>>>>>> soon .
>>>>>>>>>>
>>>>>>>>>> Thanks and Regards
>>>>>>>>>> M.Nagendra
>>>>>>>>>>        
>>>>>>>>>      
>>>>>>>>    
>>>>
>>
>>
> 


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.

Hi williem,
Very thanks for replay ,  can you please send some sample code for camel sql
osgi routing inside felix 
Thanks,
Nagendra 


willem.jiang wrote:
> 
> Hi,
> 
> You can't use the DefaultCamelContext in the OSGi platform,
> As the DefaultCamelContext's class resolver and FactoryFinder can't work 
> rightly within OSGi platform.
> 
> You need to use the CamelContextFactory[1] in the camel-osgi bundle to 
> create a CamelContext after setting the bundle context.
> 
> BTW, Spring-dm will setBundleContext if the bean class implements the 
> BundleContextAware interface.
> 
> [1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/CamelContextFactory.java
> 
> Willem
> 
> NagendraCorpus wrote:
>> 
>> Hi williem  ,
>> 
>> Thanks for replay,i am using spring configuration to start bundle , i am
>> sending whole application zip , please check and let me know i am doing
>> any
>> thing wrong.
>> 
>> Thanks,
>> Nagendra.M
>> http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 
>> 
>> willem.jiang wrote:
>>> Hi,
>>>
>>> How can your CamelRoute.start be called ?
>>> I don't find there are any bundle activator in the MANIFEST.MF/
>>> Can you try to use spring configuration to start up the camelcontext?
>>> Please take a look at the camel-example-osgi that I showed to you.
>>>
>>> Willem
>>> NagendraCorpus wrote:
>>>> Hi williem,
>>>>
>>>> I am not using spring DSL , i am using java DSL, i am attaching my
>>>> routing
>>>> java file and manifest , please see and 
>>>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>>>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java
>>>> let
>>>> me
>>>> know any thing wrong i am doing .
>>>>
>>>> Thanks 
>>>> Nagendra.M
>>>>
>>>>
>>>> willem.jiang wrote:
>>>>> Did you put the spring configuration which holds the camelcontext into 
>>>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>>>> the camel context ?
>>>>>
>>>>> If not, please take a look at the camel-example-osgi[1].
>>>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>>>
>>>>> Willem
>>>>>
>>>>> S. Ali Tokmen wrote:
>>>>>> Hello
>>>>>>
>>>>>> How did you deploy your route? As part of a bundle?
>>>>>>
>>>>>> Do you have any route startup messages on the Felix console?
>>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> S. Ali Tokmen
>>>>>> savas-ali.tokmen@bull.net
>>>>>>
>>>>>> Office: +33 4 76 29 76 19
>>>>>> GSM:    +33 66 43 00 555
>>>>>>
>>>>>> Bull, Architect of an Open World TM
>>>>>> http://www.bull.com
>>>>>>
>>>>>>
>>>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>>>> Hi willem thanks for reply ,i am not getting any error inside felix
>>>>>>> it 
>>>>>>> not
>>>>>>> showing any errors  ,but sql route is not executing .
>>>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>>>   79] [Active     ] [    1] Apache Commons CSV
>>>>>>> (1.0.0.BUILD-20080106)
>>>>>>>
>>>>>>> these are the bundles are deployed inside felix , please let me know
>>>>>>> any
>>>>>>> wrong i did .
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> willem.jiang wrote:
>>>>>>>   
>>>>>>>> What kind of error did you get ?
>>>>>>>> Can you past the stack trace?
>>>>>>>>
>>>>>>>> Willem
>>>>>>>>
>>>>>>>> NagendraCorpus wrote:
>>>>>>>>     
>>>>>>>>> hi
>>>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>>>>> i am trying to use camel sql component in camel routing with felix
>>>>>>>>> , 
>>>>>>>>> but
>>>>>>>>> sql
>>>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>>>> components
>>>>>>>>> are
>>>>>>>>> working but remaining camel components are not working ,inorder to
>>>>>>>>> work
>>>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>>>> ,please
>>>>>>>>> reply
>>>>>>>>> soon .
>>>>>>>>>
>>>>>>>>> Thanks and Regards
>>>>>>>>> M.Nagendra
>>>>>>>>>        
>>>>>>>>      
>>>>>>>    
>>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27498585.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

You can't use the DefaultCamelContext in the OSGi platform,
As the DefaultCamelContext's class resolver and FactoryFinder can't work 
rightly within OSGi platform.

You need to use the CamelContextFactory[1] in the camel-osgi bundle to 
create a CamelContext after setting the bundle context.

BTW, Spring-dm will setBundleContext if the bean class implements the 
BundleContextAware interface.

[1]https://svn.apache.org/repos/asf/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/CamelContextFactory.java

Willem

NagendraCorpus wrote:
> 
> Hi williem  ,
> 
> Thanks for replay,i am using spring configuration to start bundle , i am
> sending whole application zip , please check and let me know i am doing any
> thing wrong.
> 
> Thanks,
> Nagendra.M
> http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 
> 
> willem.jiang wrote:
>> Hi,
>>
>> How can your CamelRoute.start be called ?
>> I don't find there are any bundle activator in the MANIFEST.MF/
>> Can you try to use spring configuration to start up the camelcontext?
>> Please take a look at the camel-example-osgi that I showed to you.
>>
>> Willem
>> NagendraCorpus wrote:
>>> Hi williem,
>>>
>>> I am not using spring DSL , i am using java DSL, i am attaching my
>>> routing
>>> java file and manifest , please see and 
>>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java let
>>> me
>>> know any thing wrong i am doing .
>>>
>>> Thanks 
>>> Nagendra.M
>>>
>>>
>>> willem.jiang wrote:
>>>> Did you put the spring configuration which holds the camelcontext into 
>>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>>> the camel context ?
>>>>
>>>> If not, please take a look at the camel-example-osgi[1].
>>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>>
>>>> Willem
>>>>
>>>> S. Ali Tokmen wrote:
>>>>> Hello
>>>>>
>>>>> How did you deploy your route? As part of a bundle?
>>>>>
>>>>> Do you have any route startup messages on the Felix console?
>>>>>
>>>>> Cheers
>>>>>
>>>>> S. Ali Tokmen
>>>>> savas-ali.tokmen@bull.net
>>>>>
>>>>> Office: +33 4 76 29 76 19
>>>>> GSM:    +33 66 43 00 555
>>>>>
>>>>> Bull, Architect of an Open World TM
>>>>> http://www.bull.com
>>>>>
>>>>>
>>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>>> Hi willem thanks for reply ,i am not getting any error inside felix it 
>>>>>> not
>>>>>> showing any errors  ,but sql route is not executing .
>>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>>>>
>>>>>> these are the bundles are deployed inside felix , please let me know
>>>>>> any
>>>>>> wrong i did .
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> willem.jiang wrote:
>>>>>>   
>>>>>>> What kind of error did you get ?
>>>>>>> Can you past the stack trace?
>>>>>>>
>>>>>>> Willem
>>>>>>>
>>>>>>> NagendraCorpus wrote:
>>>>>>>     
>>>>>>>> hi
>>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>>>> i am trying to use camel sql component in camel routing with felix , 
>>>>>>>> but
>>>>>>>> sql
>>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>>> components
>>>>>>>> are
>>>>>>>> working but remaining camel components are not working ,inorder to
>>>>>>>> work
>>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>>> ,please
>>>>>>>> reply
>>>>>>>> soon .
>>>>>>>>
>>>>>>>> Thanks and Regards
>>>>>>>> M.Nagendra
>>>>>>>>        
>>>>>>>      
>>>>>>    
>>>>
>>
>>
> 


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.

Hi williem  ,

Thanks for replay,i am using spring configuration to start bundle , i am
sending whole application zip , please check and let me know i am doing any
thing wrong.

Thanks,
Nagendra.M
http://old.nabble.com/file/p27498173/camel-javaDSL.zip camel-javaDSL.zip 

willem.jiang wrote:
> 
> Hi,
> 
> How can your CamelRoute.start be called ?
> I don't find there are any bundle activator in the MANIFEST.MF/
> Can you try to use spring configuration to start up the camelcontext?
> Please take a look at the camel-example-osgi that I showed to you.
> 
> Willem
> NagendraCorpus wrote:
>> Hi williem,
>> 
>> I am not using spring DSL , i am using java DSL, i am attaching my
>> routing
>> java file and manifest , please see and 
>> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
>> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java let
>> me
>> know any thing wrong i am doing .
>> 
>> Thanks 
>> Nagendra.M
>> 
>> 
>> willem.jiang wrote:
>>> Did you put the spring configuration which holds the camelcontext into 
>>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>>> the camel context ?
>>>
>>> If not, please take a look at the camel-example-osgi[1].
>>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>>
>>> Willem
>>>
>>> S. Ali Tokmen wrote:
>>>> Hello
>>>>
>>>> How did you deploy your route? As part of a bundle?
>>>>
>>>> Do you have any route startup messages on the Felix console?
>>>>
>>>> Cheers
>>>>
>>>> S. Ali Tokmen
>>>> savas-ali.tokmen@bull.net
>>>>
>>>> Office: +33 4 76 29 76 19
>>>> GSM:    +33 66 43 00 555
>>>>
>>>> Bull, Architect of an Open World TM
>>>> http://www.bull.com
>>>>
>>>>
>>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>>> Hi willem thanks for reply ,i am not getting any error inside felix it 
>>>>> not
>>>>> showing any errors  ,but sql route is not executing .
>>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>>>
>>>>> these are the bundles are deployed inside felix , please let me know
>>>>> any
>>>>> wrong i did .
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> willem.jiang wrote:
>>>>>   
>>>>>> What kind of error did you get ?
>>>>>> Can you past the stack trace?
>>>>>>
>>>>>> Willem
>>>>>>
>>>>>> NagendraCorpus wrote:
>>>>>>     
>>>>>>> hi
>>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>>> i am trying to use camel sql component in camel routing with felix , 
>>>>>>> but
>>>>>>> sql
>>>>>>> component routing is not working inside felix . file and bean 
>>>>>>> components
>>>>>>> are
>>>>>>> working but remaining camel components are not working ,inorder to
>>>>>>> work
>>>>>>> camel sql routing ,which bundles i have to deploy inside felix
>>>>>>> ,please
>>>>>>> reply
>>>>>>> soon .
>>>>>>>
>>>>>>> Thanks and Regards
>>>>>>> M.Nagendra
>>>>>>>        
>>>>>>
>>>>>>      
>>>>>    
>>>>
>>>
>>>
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27498173.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by Willem Jiang <wi...@gmail.com>.
Hi,

How can your CamelRoute.start be called ?
I don't find there are any bundle activator in the MANIFEST.MF/
Can you try to use spring configuration to start up the camelcontext?
Please take a look at the camel-example-osgi that I showed to you.

Willem
NagendraCorpus wrote:
> Hi williem,
> 
> I am not using spring DSL , i am using java DSL, i am attaching my routing
> java file and manifest , please see and 
> http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
> http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java let me
> know any thing wrong i am doing .
> 
> Thanks 
> Nagendra.M
> 
> 
> willem.jiang wrote:
>> Did you put the spring configuration which holds the camelcontext into 
>> the bundle/META-INF/spring ? Or use the bundle activator the start up 
>> the camel context ?
>>
>> If not, please take a look at the camel-example-osgi[1].
>> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
>>
>> Willem
>>
>> S. Ali Tokmen wrote:
>>> Hello
>>>
>>> How did you deploy your route? As part of a bundle?
>>>
>>> Do you have any route startup messages on the Felix console?
>>>
>>> Cheers
>>>
>>> S. Ali Tokmen
>>> savas-ali.tokmen@bull.net
>>>
>>> Office: +33 4 76 29 76 19
>>> GSM:    +33 66 43 00 555
>>>
>>> Bull, Architect of an Open World TM
>>> http://www.bull.com
>>>
>>>
>>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>>> Hi willem thanks for reply ,i am not getting any error inside felix it 
>>>> not
>>>> showing any errors  ,but sql route is not executing .
>>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>>   72] [Active     ] [    1] spring (2.5.0)
>>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>>
>>>> these are the bundles are deployed inside felix , please let me know any
>>>> wrong i did .
>>>>
>>>>
>>>>
>>>>
>>>> willem.jiang wrote:
>>>>   
>>>>> What kind of error did you get ?
>>>>> Can you past the stack trace?
>>>>>
>>>>> Willem
>>>>>
>>>>> NagendraCorpus wrote:
>>>>>     
>>>>>> hi
>>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>>> i am trying to use camel sql component in camel routing with felix , 
>>>>>> but
>>>>>> sql
>>>>>> component routing is not working inside felix . file and bean 
>>>>>> components
>>>>>> are
>>>>>> working but remaining camel components are not working ,inorder to
>>>>>> work
>>>>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>>>>> reply
>>>>>> soon .
>>>>>>
>>>>>> Thanks and Regards
>>>>>> M.Nagendra
>>>>>>        
>>>>>
>>>>>      
>>>>    
>>>
>>
>>
> 


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.
Hi williem,

I am not using spring DSL , i am using java DSL, i am attaching my routing
java file and manifest , please see and 
http://old.nabble.com/file/p27497621/MANIFEST.MF MANIFEST.MF 
http://old.nabble.com/file/p27497621/CamelRoute.java CamelRoute.java let me
know any thing wrong i am doing .

Thanks 
Nagendra.M


willem.jiang wrote:
> 
> Did you put the spring configuration which holds the camelcontext into 
> the bundle/META-INF/spring ? Or use the bundle activator the start up 
> the camel context ?
> 
> If not, please take a look at the camel-example-osgi[1].
> [1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi
> 
> Willem
> 
> S. Ali Tokmen wrote:
>> Hello
>> 
>> How did you deploy your route? As part of a bundle?
>> 
>> Do you have any route startup messages on the Felix console?
>> 
>> Cheers
>> 
>> S. Ali Tokmen
>> savas-ali.tokmen@bull.net
>> 
>> Office: +33 4 76 29 76 19
>> GSM:    +33 66 43 00 555
>> 
>> Bull, Architect of an Open World TM
>> http://www.bull.com
>> 
>> 
>> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>>> Hi willem thanks for reply ,i am not getting any error inside felix it 
>>> not
>>> showing any errors  ,but sql route is not executing .
>>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>>   24] [Active     ] [    1] camel-core (2.1.0)
>>>   25] [Active     ] [    1] Commons Management (1.0)
>>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>>   58] [Active     ] [    1] spring-context (2.5.1)
>>>   59] [Active     ] [    1] spring-core (2.5.1)
>>>   72] [Active     ] [    1] spring (2.5.0)
>>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>>
>>> these are the bundles are deployed inside felix , please let me know any
>>> wrong i did .
>>>
>>>
>>>
>>>
>>> willem.jiang wrote:
>>>   
>>>> What kind of error did you get ?
>>>> Can you past the stack trace?
>>>>
>>>> Willem
>>>>
>>>> NagendraCorpus wrote:
>>>>     
>>>>> hi
>>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>>> i am trying to use camel sql component in camel routing with felix , 
>>>>> but
>>>>> sql
>>>>> component routing is not working inside felix . file and bean 
>>>>> components
>>>>> are
>>>>> working but remaining camel components are not working ,inorder to
>>>>> work
>>>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>>>> reply
>>>>> soon .
>>>>>
>>>>> Thanks and Regards
>>>>> M.Nagendra
>>>>>        
>>>>
>>>>
>>>>      
>>>    
>> 
>> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497621.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by Willem Jiang <wi...@gmail.com>.
Did you put the spring configuration which holds the camelcontext into 
the bundle/META-INF/spring ? Or use the bundle activator the start up 
the camel context ?

If not, please take a look at the camel-example-osgi[1].
[1]https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-osgi

Willem

S. Ali Tokmen wrote:
> Hello
> 
> How did you deploy your route? As part of a bundle?
> 
> Do you have any route startup messages on the Felix console?
> 
> Cheers
> 
> S. Ali Tokmen
> savas-ali.tokmen@bull.net
> 
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
> 
> Bull, Architect of an Open World TM
> http://www.bull.com
> 
> 
> Le 08/02/2010 10:37, NagendraCorpus a écrit :
>> Hi willem thanks for reply ,i am not getting any error inside felix it 
>> not
>> showing any errors  ,but sql route is not executing .
>>    0] [Active     ] [    0] System Bundle (1.8.0)
>>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>>    7] [Active     ] [    1] Apache Felix (1.0.1)
>>    8] [Active     ] [    1] slf4j-api (1.4.3)
>>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>>   24] [Active     ] [    1] camel-core (2.1.0)
>>   25] [Active     ] [    1] Commons Management (1.0)
>>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>>   51] [Active     ] [    1] camel-sql (2.1.0)
>>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>>   56] [Active     ] [    1] spring-aop (2.5.1)
>>   57] [Active     ] [    1] spring-beans (2.5.1)
>>   58] [Active     ] [    1] spring-context (2.5.1)
>>   59] [Active     ] [    1] spring-core (2.5.1)
>>   72] [Active     ] [    1] spring (2.5.0)
>>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>>   78] [Active     ] [    1] camel-csv (2.1.0)
>>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>>
>> these are the bundles are deployed inside felix , please let me know any
>> wrong i did .
>>
>>
>>
>>
>> willem.jiang wrote:
>>   
>>> What kind of error did you get ?
>>> Can you past the stack trace?
>>>
>>> Willem
>>>
>>> NagendraCorpus wrote:
>>>     
>>>> hi
>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>> i am trying to use camel sql component in camel routing with felix , 
>>>> but
>>>> sql
>>>> component routing is not working inside felix . file and bean 
>>>> components
>>>> are
>>>> working but remaining camel components are not working ,inorder to work
>>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>>> reply
>>>> soon .
>>>>
>>>> Thanks and Regards
>>>> M.Nagendra
>>>>        
>>>
>>>
>>>      
>>    
> 
> 


Re: Camel components not working inside felix

Posted by "S. Ali Tokmen" <sa...@bull.net>.
Hello

How did you deploy your route? As part of a bundle?

Do you have any route startup messages on the Felix console?

Cheers

S. Ali Tokmen
savas-ali.tokmen@bull.net

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com


Le 08/02/2010 10:37, NagendraCorpus a écrit :
> Hi willem thanks for reply ,i am not getting any error inside felix it not
> showing any errors  ,but sql route is not executing .
>    0] [Active     ] [    0] System Bundle (1.8.0)
>    1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
>    2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
>    3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
>    4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
>    5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
>    6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
>    7] [Active     ] [    1] Apache Felix (1.0.1)
>    8] [Active     ] [    1] slf4j-api (1.4.3)
>    9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
>   22] [Active     ] [    1] spring-osgi-core (1.0.2)
>   23] [Active     ] [    1] spring-osgi-io (1.0.2)
>   24] [Active     ] [    1] camel-core (2.1.0)
>   25] [Active     ] [    1] Commons Management (1.0)
>   37] [Active     ] [    1] spring-osgi-extender (1.0.2)
>   51] [Active     ] [    1] camel-sql (2.1.0)
>   52] [Active     ] [    1] camel-jdbc (2.1.0)
>   56] [Active     ] [    1] spring-aop (2.5.1)
>   57] [Active     ] [    1] spring-beans (2.5.1)
>   58] [Active     ] [    1] spring-context (2.5.1)
>   59] [Active     ] [    1] spring-core (2.5.1)
>   72] [Active     ] [    1] spring (2.5.0)
>   73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
>   78] [Active     ] [    1] camel-csv (2.1.0)
>   79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)
>
> these are the bundles are deployed inside felix , please let me know any
> wrong i did .
>
>
>
>
> willem.jiang wrote:
>    
>> What kind of error did you get ?
>> Can you past the stack trace?
>>
>> Willem
>>
>> NagendraCorpus wrote:
>>      
>>> hi
>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>> i am trying to use camel sql component in camel routing with felix , but
>>> sql
>>> component routing is not working inside felix . file and bean components
>>> are
>>> working but remaining camel components are not working ,inorder to work
>>> camel sql routing ,which bundles i have to deploy inside felix ,please
>>> reply
>>> soon .
>>>
>>> Thanks and Regards
>>> M.Nagendra
>>>        
>>
>>
>>      
>    


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.
Hi willem thanks for reply ,i am not getting any error inside felix it not
showing any errors  ,but sql route is not executing .
  0] [Active     ] [    0] System Bundle (1.8.0)
  1] [Active     ] [    1] Apache Felix Shell Service (1.2.0)
  2] [Active     ] [    1] Apache Felix Shell TUI (1.2.0)
  3] [Active     ] [    1] Apache Felix Bundle Repository (1.4.0)
  4] [Active     ] [    1] aopalliance.osgi (1.0.0.SNAPSHOT)
  5] [Active     ] [    1] jcl104-over-slf4j (1.4.3)
  6] [Active     ] [    1] log4j.osgi (1.2.15.SNAPSHOT)
  7] [Active     ] [    1] Apache Felix (1.0.1)
  8] [Active     ] [    1] slf4j-api (1.4.3)
  9] [Active     ] [    1] slf4j-log4j12 (1.4.3)
 22] [Active     ] [    1] spring-osgi-core (1.0.2)
 23] [Active     ] [    1] spring-osgi-io (1.0.2)
 24] [Active     ] [    1] camel-core (2.1.0)
 25] [Active     ] [    1] Commons Management (1.0)
 37] [Active     ] [    1] spring-osgi-extender (1.0.2)
 51] [Active     ] [    1] camel-sql (2.1.0)
 52] [Active     ] [    1] camel-jdbc (2.1.0)
 56] [Active     ] [    1] spring-aop (2.5.1)
 57] [Active     ] [    1] spring-beans (2.5.1)
 58] [Active     ] [    1] spring-context (2.5.1)
 59] [Active     ] [    1] spring-core (2.5.1)
 72] [Active     ] [    1] spring (2.5.0)
 73] [Active     ] [    1] Jdbc Plug-in (1.0.0)
 78] [Active     ] [    1] camel-csv (2.1.0)
 79] [Active     ] [    1] Apache Commons CSV (1.0.0.BUILD-20080106)

these are the bundles are deployed inside felix , please let me know any
wrong i did .




willem.jiang wrote:
> 
> What kind of error did you get ?
> Can you past the stack trace?
> 
> Willem
> 
> NagendraCorpus wrote:
>> hi 
>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>> i am trying to use camel sql component in camel routing with felix , but
>> sql
>> component routing is not working inside felix . file and bean components
>> are
>> working but remaining camel components are not working ,inorder to work
>> camel sql routing ,which bundles i have to deploy inside felix ,please
>> reply
>> soon .
>> 
>> Thanks and Regards
>> M.Nagendra
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27497353.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by Willem Jiang <wi...@gmail.com>.
What kind of error did you get ?
Can you past the stack trace?

Willem

NagendraCorpus wrote:
> hi 
> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
> i am trying to use camel sql component in camel routing with felix , but sql
> component routing is not working inside felix . file and bean components are
> working but remaining camel components are not working ,inorder to work
> camel sql routing ,which bundles i have to deploy inside felix ,please reply
> soon .
> 
> Thanks and Regards
> M.Nagendra


Re: Camel components not working inside felix

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,

Did you deploy the camel-spring-osgi bundle as well?  Afaik, that one
has some extra bits for making sure that additional
components/converters/... get loaded properly in an OSGi environment.
You can always have a look in
http://repo2.maven.org/maven2/org/apache/camel/karaf/features/2.1.0/features-2.1.0-features.xml
to get a list of bundles needed for a given component (or you could
switch over to Karaf, which also supports Felix and Spring DM and
allows you to install Camel components with a single command ;) )

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 8 February 2010 17:55, NagendraCorpus <ma...@gmail.com> wrote:
>
> Hi,
> i am able to run route with bean and file components , but i am getting
> problem with when i am using camel sql and camel activemq and other
> remaining components . can u please send any sample code  which is using
> camel sql component in routing.
>
> Thanks ,
> Nagendra
>
>
>
> S. Ali Tokmen-4 wrote:
>>
>> Hello
>>
>> Are you able of running ANY route on Camel?
>>
>> Cheers
>>
>> S. Ali Tokmen
>> savas-ali.tokmen@bull.net
>>
>> Office: +33 4 76 29 76 19
>> GSM:    +33 66 43 00 555
>>
>> Bull, Architect of an Open World TM
>> http://www.bull.com
>>
>>
>> Le 08/02/2010 14:50, NagendraCorpus a écrit :
>>> hi , can any one please give me reply soon.
>>> Thanks,
>>> Nagendra
>>>
>>>
>>> NagendraCorpus wrote:
>>>
>>>> hi
>>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>>> i am trying to use camel sql component in camel routing with felix , but
>>>> sql component routing is not working inside felix . file and bean
>>>> components are working but remaining camel components are not working
>>>> ,inorder to work camel sql routing ,which bundles i have to deploy
>>>> inside
>>>> felix ,please reply soon .
>>>>
>>>> Thanks and Regards
>>>> M.Nagendra
>>>>
>>>>
>>>
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27502829.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>
>

Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.
Hi,
i am able to run route with bean and file components , but i am getting
problem with when i am using camel sql and camel activemq and other
remaining components . can u please send any sample code  which is using
camel sql component in routing.

Thanks ,
Nagendra



S. Ali Tokmen-4 wrote:
> 
> Hello
> 
> Are you able of running ANY route on Camel?
> 
> Cheers
> 
> S. Ali Tokmen
> savas-ali.tokmen@bull.net
> 
> Office: +33 4 76 29 76 19
> GSM:    +33 66 43 00 555
> 
> Bull, Architect of an Open World TM
> http://www.bull.com
> 
> 
> Le 08/02/2010 14:50, NagendraCorpus a écrit :
>> hi , can any one please give me reply soon.
>> Thanks,
>> Nagendra
>>
>>
>> NagendraCorpus wrote:
>>    
>>> hi
>>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>>> i am trying to use camel sql component in camel routing with felix , but
>>> sql component routing is not working inside felix . file and bean
>>> components are working but remaining camel components are not working
>>> ,inorder to work camel sql routing ,which bundles i have to deploy
>>> inside
>>> felix ,please reply soon .
>>>
>>> Thanks and Regards
>>> M.Nagendra
>>>
>>>      
>>    
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27502829.html
Sent from the Camel Development mailing list archive at Nabble.com.


Re: Camel components not working inside felix

Posted by "S. Ali Tokmen" <sa...@bull.net>.
Hello

Are you able of running ANY route on Camel?

Cheers

S. Ali Tokmen
savas-ali.tokmen@bull.net

Office: +33 4 76 29 76 19
GSM:    +33 66 43 00 555

Bull, Architect of an Open World TM
http://www.bull.com


Le 08/02/2010 14:50, NagendraCorpus a écrit :
> hi , can any one please give me reply soon.
> Thanks,
> Nagendra
>
>
> NagendraCorpus wrote:
>    
>> hi
>> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
>> i am trying to use camel sql component in camel routing with felix , but
>> sql component routing is not working inside felix . file and bean
>> components are working but remaining camel components are not working
>> ,inorder to work camel sql routing ,which bundles i have to deploy inside
>> felix ,please reply soon .
>>
>> Thanks and Regards
>> M.Nagendra
>>
>>      
>    


Re: Camel components not working inside felix

Posted by NagendraCorpus <ma...@gmail.com>.
hi , can any one please give me reply soon.
Thanks,
Nagendra 


NagendraCorpus wrote:
> 
> hi 
> I am using camel 2.1.0 and felix is 1.8.0 and spring dm is 2.5.1 ,
> i am trying to use camel sql component in camel routing with felix , but
> sql component routing is not working inside felix . file and bean
> components are working but remaining camel components are not working
> ,inorder to work camel sql routing ,which bundles i have to deploy inside
> felix ,please reply soon .
> 
> Thanks and Regards
> M.Nagendra
> 

-- 
View this message in context: http://old.nabble.com/Camel-components-not-working-inside-felix-tp27497195p27500045.html
Sent from the Camel Development mailing list archive at Nabble.com.