Please tell us the exact FUSE ESB version you're using.
And tell us the which transport your camel-cxf component are using.
If camel-cxf component use http-osgi transport, then you can configure it in $FUSE_ESB/etc/jetty.xml.
If camel-cxf component use http transport, then you need configure it in cxf jetty server configuration, I explain the details here
I use apache-servicemix-4.4.1-fuse-01-13
karaf@root> list | grep http
karaf@root> list | grep cxf
karaf@root> list | grep osgi
--And tell us the which transport your camel-cxf component are using.
--If camel-cxf component use http-osgi transport, then ...
--If camel-cxf component use http transport then...
Please explain me how can I check it, where is it configured, and what would be written i each case?
so probably it can be http transport, exposed webservice is for instance contractEndpoint
later in the path are from/to uri="direct:....." , from/to uri="nmr:..." (they are called by IntegrationInputProcessor)
Edited by: camel on Feb 7, 2012 9:10 AM
Edited by: camel on Feb 7, 2012 9:11 AM
editing $FUSE_ESB/etc/jetty.xml didn't work so it is probably http transport
I added 2 connectors to jetty.xml, when I debug my request it is serviced by default connector and in server of this default connecto there is only one connector in it's connectors list
from idea debug:
_connectors= array[with size 1 containing only connector servicing current request]
now I will read and try to use http://cxf.547215.n5.nabble.com/CXF-retrying-an-operation-td5072484.html
when etc/jetty.xml is present something is going wrong, connectors created in httpj:engine-factory are not visible,
only connectors created in jetty.xml are visible
any idea what can be wrong?
This 404 response comes from
if (!method.equals(HttpMethods.GET) || !request.getRequestURI().equals("/"))
This is strange, request come to connector with MaxIdleTime 400000, was correctly serviced by Route defined in java, but DefaultHandler got called.
When I removed DefaultHandler client got correct response !!
Is this a Jetty joke?
/** Default Handler.
This handle will deal with unhandled requests in the server.
For requests for favicon.ico, the Jetty icon is served.
For reqests to '/' a 404 with a list of known contexts is served.
For all other requests a normal 404 is served.
but my request was handled.
If this is not a Jetty joke it may mean that there is still something wrong, I will go on with testing.
Thank You very much for Your help, it was very usefull. Short timeouts disappeared.