If you want to notify the OSGi bundle with the parameter, you can use OSGi 
server to do that.
Camel doesn’t have that component which can send the message to the bundle 
directly.

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On January 5, 2014 at 9:32:44 PM, ved (vedvr...@gmail.com) wrote:
>  
> I am stuck in following scenario with blend of apache camel, cxf  
> web service
> and osgi bundle in apache servicemix.
>  
> Scenario:
>  
> I have a spring web application (wa1) deployed in tomcat. On same  
> machine, I
> have servicemix running. In servicemix, I have already deployed  
> rest web
> service(ws1) using apache cxf , one more java bundle(b1)(having  
> main class)
> is deployed also.
>  
> Now, what I want is hit web service(ws1) from spring web application(with  
> append parameter in URL) , after getting request at web service(ws1),  
> get
> parameter from URL and send it to another bundle(i.e b1).
>  
> what I have done so far is : implemented web service, bundle and  
> deployed
> both. I am getting parameter with URL each an every thing.
>  
> Now, my query is how to send parameter from web service to bundle.  
> For this
> purpose, I thought apache camel is best candidate. So, I need  
> some guidance
> which component should I use of apache camel.
>  
> eg: *from("ws1 with parameter").to("send this parameters  
> to
> bundle(b1)")*.
>  
>  
> How to implement this, what component, endpoint should I use?  
> Please help
> me. And also , Is this right approach that I am following???
> Feel free to ask if you want any input from my side
>  
>  
>  
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/scenario-of-apache-camel-cxf-web-service-and-osgi-bundle-in-servicemix-v4-5-3-tp5718668.html
>   
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.  
>  

Reply via email to