I'm not sure what's your meaning of publishing the endpoint to the public.
If you want to access the camel-cxf endpoint from other camel context, you just need to make sure the address of the camel-cxf consumer can be accessed from other box.
You can change the cxf endpoint address from
Jetty will listen to all the network interface port 8381 for you.
Let me clarify it.
As I know, the camel-cxf endpoint is reachable in same camel-context bundle.
For an example,
I try to package camel-cxf and camel-context route in different bundle.
How to make the route starting from camel-cxf endpoint ?
Is it the camel-cxf endpoint reachable by other bundle route?
Actually I intend to use camel-cxf instead jbi cxfbc:consumer.
If you define the camel context in the spring configure file, Spring DM will load it when the bundle is staring. You can package the camel-cxf endpoint definition into other bundle, please make sure the camel context bundle imports the package rightly. Then the Spring DM will take care of rest of other things.