You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by tranchida <gi...@tranchida.ch> on 2008/05/29 11:41:47 UTC

ServiceMix-http (http:provider) no exchange out on connect exception

Help,

I want to send a message from ServiceMix-JMS consumer SU to ServiceMix-Http
provider SU with mep in-out using the "new endpoint" because a need to
provide my own marshaler.

Everything work fine in normal case, except when I receive an exception a
java.net.ConnectException: Connection refused: connect (server down for
example), JMS endpoint never receive back an out or error message and still
suspended forever.

xbeans :

	<jms:consumer service="acp:ACPService" endpoint="JMSListener"
		targetService="acp:ACPServiceHTTP" targetEndpoint="http"
		destinationName="ACPServiceInput"
		connectionFactory="#connectionFactory" marshaler="#marshaler"
transacted="jms"/>

	<bean id="marshaler"
		class="ch.vd.smx.ACPJmsMarshaler">
		<property name="mep"
			value="http://www.w3.org/2004/08/wsdl/in-out" />
	</bean>


	<http:provider service="acp:ACPServiceHTTP" endpoint="http"
		marshaler="#marshaler"/>

	<bean id="marshaler" class="ch.vd.smx.ACPRestMarshaler">
		<property name="locationURI"
			value="http://localhost:8080/AlfrescoMockService/AlfrescoTestService" />
	</bean>


-- 
View this message in context: http://www.nabble.com/ServiceMix-http-%28http%3Aprovider%29-no-exchange-out-on-connect-exception-tp17531117p17531117.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.