Hello Willem!

I have the same problem... :-(
I will try to describe the problem and ask my question again:
In our integration project we use multiple Camel OSGI bundles which expose
multiple web servives (via Camel CXF consumer). We use the
camel-cxf:cxfEndpoint configuration (including properties and interceptors)
with an address like address="
https://0.0.0.0:8443/Services/OrderEntryService"; and the
httpj:engine-factory configuration (see my first post).

We have the problem, that we have to configure a different port for each web
service we expose to prevent the Could not start Jetty server: Address
already in use: JVM_Bind Exception (also in my first post).

Charles suggested to use an address like
address="/Services/OrderEntryService". My questions are:
- At present, I use in my route from("cxf:bean:orderEntryService"). Do I
have to use now from(cxf:/Services/OrderEntryService?...) or is it also
possible with the CXF bean binding?
- If I can still use the CXF bean binding: I didn't found any unit test or
example which test/shows this possibility. Currently I don't know how I can
test this (I think I have to start Jetty and configure it for HTTPS in my
set up method).
- If I have to use from("cxf:/Services/OrderEntryService"), how I can
configure our cxf properties (e.g. schema-validation-enabled) and
interceptors?

In short: My goal is to provide multiple web services (Apache CXF consumers)
which use the same port for the HTTPS configuration. It should be possible
to switch to HTTP without touching my Spring configuration (only my
externalized environment specific properties).

The next FAQ entry I would like to write... ;-)

Christian

On Fri, Mar 4, 2011 at 5:48 AM, Willem.Jiang [via Camel] <
ml-node+3408939-1332669798-65...@n5.nabble.com> wrote:

> Hi Christian,
>
> I cannot see any code inside the {code}{code} block.
> And I didn't get your question.
>
> Willem
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3408939.html
>  To unsubscribe from Problem with multiple CXF services using the same
> https port, click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3379301&code=Y2hyaXN0aWFuLm11ZWxsZXJAZ21haWwuY29tfDMzNzkzMDF8LTY2MDEwNjQxMA==>.
>
>


--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-multiple-CXF-services-using-the-same-https-port-tp3379301p3409050.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to