-
1. Re: CXF route Configuration with Camel using FID
dinesh_gioe Jul 28, 2009 1:58 PM (in response to jcornell)Hi,
What is the exact problem you are getting? Are you facing the problems when you try to run the route?
Which version of Camel runtime you are using to run the route? I believe you are trying to invoke a Webservice using the CXF endpoint. Is this true?
Thanks
Regards
Dinesh
-
2. Re: CXF route Configuration with Camel using FID
jcornell Jul 28, 2009 2:19 PM (in response to dinesh_gioe)I am using servicemix 3.4 and developing in the FID 1.2.1 which I think is using camel plugin version 1.5.1. The problem I am having is that when I deploy my route it can not find my service implementation class. I was able to reference my deployed service with the JBI component but it seems like I can't do the same thing using the CXF component. Yes I am trying to utilize the camel CXF component.
Jim
-
3. Re: CXF route Configuration with Camel using FID
stlewis Jul 28, 2009 3:42 PM (in response to jcornell)Hi! Is this the same project for which you posted the route in thread id 1004?
If you're looking to access a CXF SE that's already been deployed in the ESB then you've got to use JBI. What your route currently is trying to do is use the CXF bean camel component which you use to expose a web service implementation class to a camel route, what this means for you is that the route would be instantiating an instance of your implementation class and invoking on that instance and not on the CXF SE component that you want to access. To do the latter you've got to use JBI and go through the NMR, assuming this is all running within the same JVM. If your route is running outside of servicemix then you'd be looking at maybe doing something like what's on this page under "Configure the CXF endpoints with Spring", and your SA containing the CXF SE should also expose that SE using a CXF BC. Hope that helps!
-
4. Re: CXF route Configuration with Camel using FID
jcornell Jul 29, 2009 9:08 AM (in response to stlewis)Are you sure there is no alternative to using JBI. I would rather not use JBI components in the route. IS there an OSGI solution?
-
5. Re: CXF route Configuration with Camel using FID
stlewis Jul 29, 2009 9:35 AM (in response to jcornell)You can't in FUSE ESB 3.4, this is strictly JBI. You should download FUSE ESB 4.x and take a look at the cxf-camel-nmr demo, I think this might be along the lines of what you're looking for.