Ganesh, Could you give this a try with a locally built SNAPSHOT version of the component, using Camel 1.6.0? We have recently fixed quite a few problems with StreamSource handling in ServiceMix and I suspect this particular problem will get solved as well by using the latest version.
To build the component locally: - do an svn checkout from http://svn.eu.apache.org/viewvc/servicemix/components/engines/servicemix-camel/trunk/ - change the version of camel in the pom.xml to 1.6.0 and do a mvn install Regards, Gert Vanthienen ------------------------ Open Source SOA: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ 2009/2/24 navigator09 <[email protected]>: > > Gert, > > In production environments , these issues can lead to rejection of the > solution. Camel component is a powerful solution with good ease of use, I > would definately want to use and promote it. Pls help us in the matter. > > Regards, > Ganesh > > navigator09 wrote: >> >> Hi Gert< >> >> I have pasted the routes below >> >> Namespaces ns = new Namespaces("jobsubmission", >> "http://www.jobsubmission/service/"); >> >> from("jbi:endpoint:http://www.jobsubmission/service//RoutingSlip/Endpoint?mep=in-out"). >> convertBodyTo(String.class). >> to("log:jobsubstringinput"). >> convertBodyTo(DOMSource.class). >> to("log:pipeline"). >> choice().when().xpath("/jobsubmission:submitJob",ns). >> to("log:submitjob"). >> convertBodyTo(DOMSource.class). >> >> to("jbi:endpoint:http://www.jobsubmission/service/JobSubmission/JobSubmission?mep=in-out"). >> to("log:jobsubmissionoutput"). >> >> to("jbi:endpoint:http://www.jobsubmission/service/EventProcessor/EventProcessorendpoint"). >> otherwise(). >> to("log:other"). >> >> to("jbi:endpoint:http://www.jobsubmission/service/JobSubmission/JobSubmission?mep=in-out"); >> >> Regards, >> Ganesh >> >> Gert Vanthienen wrote: >>> >>> Ganesh, >>> >>> Could you post us some of the routes you are using? It's very hard to >>> figure out what's going from the stacktraces alone... >>> >>> Regards, >>> >>> Gert >>> >>> navigator09 wrote: >>>> Hi , >>>> >>>> I am using camel to route messages to different service end points. >>>> Sometimes when I redeploy servicemix camel, I get the streamclosed >>>> error. I >>>> have gone through the servicemix website. So i am posting full stack >>>> trace >>>> of the problem here. Pls let me know how to solve the problem. >>>> >>>> Regards, >>>> Ganesh >>>> http://www.nabble.com/file/p22032147/servicemix.log servicemix.log >>>> >>> >>> >>> >>> ----- >>> --- >>> Gert Vanthienen >>> http://gertvanthienen.blogspot.com >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Stream-closed-exception-in-servicemix-camel-tp22032147p22176185.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
