-
1. Re: IOException: Attempted read on closed stream
ffang Feb 22, 2011 9:52 PM (in response to mrostan)Hi,
You may need provide more details about your working flow, and also told us what's the external destination service is.
If you can post all configuration files, it would be more helpful.
Freeman
-
2. Re: IOException: Attempted read on closed stream
njiang Feb 23, 2011 12:46 AM (in response to mrostan)Did you try to cache the stream?
Again, please show us your camel route , it is important for use to help you trouble shooting.
-
3. Re: IOException: Attempted read on closed stream
mrostan Feb 23, 2011 8:16 AM (in response to mrostan)Hi, thanks a lot for your replies.
I'm attaching the camel-context and xbean.xml files, I'm modifying the bridge-camel example from the distribution and I've modified only these files.
The external service is a web service running in a JBoss server, I'm testing using soapUI and if I invoke directly to the service it works, if I invoke it through fuse it fails with the previous error.
I've tried previously a one-way service and it worked fine.
On the web service implementation side I can see the incoming request and the response sent back, so it seems that the problem is in the http connector side when reading the response back
Thanks again
Martin
-
xbean.xml 1.6 KB
-
camel-context.xml 1.7 KB
-
-
4. Re: IOException: Attempted read on closed stream
ffang Feb 23, 2011 8:31 AM (in response to mrostan)Hi,
I think you need add mep=in-out to the jbi endpoint uri in your camel router, take a look at to get more details.
The original router expect a InOnly MEP.
http://camel.apache.org/jbi.html
Freeman
-
5. Re: IOException: Attempted read on closed stream
mrostan Feb 23, 2011 8:45 AM (in response to ffang)Hi Freeman, thanks for your reply.
I've already tried that, but maybe I'm not doing it in the right way, I've changed the "to" uri to:
but it's still failing with the same error.
Regards,
Martin
-
6. Re: IOException: Attempted read on closed stream
ffang Feb 23, 2011 6:05 PM (in response to mrostan)Hi,
You also need add it in
Feeman
-
7. Re: IOException: Attempted read on closed stream
mrostan Feb 24, 2011 6:56 AM (in response to ffang)Thanks Feeman,
now I have the route declared as follows:
but it fails with the same error.
Thanks,
Martin
-
8. Re: IOException: Attempted read on closed stream
pchakinala_praveen.chakinala Aug 27, 2011 7:25 AM (in response to mrostan)Hi,
I am also facing the same issue (IOException) mentioned above.I followed same steps what suggested.Did you solve the issue.
Please suggest
Regards,
praveen