Hi,
I am using SpringIntegration and calling a webservice. My Application is deployed in WAS 7.0.It is working fine as long as the webservice sends response back.but if incase there is some timout occur in webservice after the request is made to webservice, the server gets hanged., with below error:
Can any one help me in this, how to handle the webservice timeout ? This is really very critical for my application.Code:TimeoutManage I WTRN0006W: Transaction 00000136581A4460000000030000000209EA42E83F47151C1457B1BF49B5622E03A56FFA00000136581A4460000000030000000209EA42E83F47151C1457B1BF49B5622E03A56FFA00000001 has timed out after 120 seconds. [3/28/12 15:01:38:214 HKT] 00000009 TimeoutManage I WTRN0124I: When the timeout occurred the thread with which the transaction is, or was most recently, associated was Thread[MessageListenerThreadPool : 0,5,main]. The stack trace of this thread when the timeout occurred was: sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:184) java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:822)
Below is my application context file code :
Code:<int:gateway id="workItemService" service-interface="com.hsbc.mpfbpm.integration.service.WorkItemService" default-request-channel="mpfBpmNotificationChannel" default-reply-channel="jmsOutChannel" error-channel="errorChannel"> <int:method name="createBPMWorkItem" request-channel="mpfBpmNotificationChannel" reply-channel="jmsOutChannel" > </int:method> </int:gateway> <int:chain id="chain" input-channel="mpfBpmNotificationChannel" output-channel="wsInChannel"> <int:service-activator method="receiveMessage" ref="ismMessageCreator"> </int:service-activator> <int:service-activator method="process"> <bean class="com.hsbc.mpfbpm.integration.transformer.RequestFL2POJO"> <property name="mappingLocation" value="classpath:payloadMapping.xml" /> </bean> </int:service-activator> <int:header-enricher> <int:header name="springintegration_ws_soapAction" value="${MPF.BPM.WSDL.URL.SoapAction}" /> </int:header-enricher> <ws:outbound-gateway uri="${MPF.BPM.WSDL.URI}" marshaller="processWorkItemCastorMarshaller" unmarshaller="processWorkItemCastorMarshaller" > </ws:outbound-gateway> </int:chain>


Reply With Quote