unfortunately that didn't helped, I am getting the same Exception....
What I see in this sample, cxf and router definitions are in the same file but I build my example project based on osgi bundle and there 3 bundles and cxf:consumer and camel router are in a separate file.
Is this a problem for this scenario, I try to export the package from router osgi bundle but there is no java code so how can I export a route from osgi bundle, that I don't know....
did you ever resolve this issue..i'm getting same error.
unfortunately it is not possible to do this scenario with camel and 3 bundles....
Camel routes has to be in the same bundle as consumer and provider....
Now I realized this scenario with EIP...
You should be able to use camel-nmr endpoints at the beginning and end of your camel route to accomplish your objective using three separate bundles.
I have the following cxfbc consumer and cxfbc producer:
Currently, I have the following flow:
external client --> cxf consumer --> cxf producer --> external service
How would I introduce routing btwn the consumer and producer that would result in the following flow:
external client --> cxf consumer --> routing --> cxf producer --> external client
cxfbc:consumer typically delegates to a cxfse endpoint.
Most likely you'll need to introduce an eip wiretap which cxfbc:consumer will delegate to. Wiretap's inListener will in turn delegate to a cfxbc:provider.
If you don't want to introduce a cxfse endpoint then most likely you'll need to ensure you have an in-only cxfbc:consumer and then use an eip static receipient list instead to delegate to cxfbc provider
Hmm..I think that won't accomplish what I'm trying to do.
I would like to accomplish the aggregation pattern and return results. With the InOnly mep, I won't be able to return the responses.
How could I implement passing an external web service call to multiple external web service providers and return the responses?
First of all my first I said it is not possible to that with multiple osgi bundles, so consumer bundle, camel bundle, xslt bundle, producer bundle, etc...
My tests to consolidate the solution this way didn't functioned but if you pack everything to one bundle there is no problem...
Aggregation pattern should solve your problem......