James Strachan <[EMAIL PROTECTED]> writes:
> > David Fry wrote: > > Thanks for the great work on servicemix. > > Thanks! > > > It looks like the codebase for the http package is getting refactored to > > support inonly binding. Is there anyway within the current release to > > use the HttpConnector class in an InOnly mode? > > BTW the exception your getting below is fixed in CVS HEAD - the Servlet > now handles getting no response back from the binding. > > I've also just refactored the HttpConnector / HttpInOutBinding so that > you can explicitly configure it to be in either InOnly or InOut mode - > and even derive from it to overload how to decide when to be in either > mode - which should make it easier to use in async / InOnly use cases. > > e.g. you can just specify a new property > > <component id="httpReceiver" service="my:httpBinding" > endpoint="httpReceiver" > class="org.servicemix.components.http.HttpConnector" > destinationService="my:fileSender"> > <property name="defaultInOut" value="false"/> > ... > > I hope this helps? > > James > Thanks for the quick response, I built from cvs HEAD and I get the same exception as before using the same config as i posted before. When I modify the config to include the <property name="defaultInOut" value="false"/> tag, the file gets created but the file is empty and the following server-side error is generated: [Fatal Error] :-1:-1: Premature end of file. Thanks for your help. David
