Hi,
I am using SI 1.0.4 with Spring 3.0.4. I have a outbound-gateway configured to achieve a request-response mode of operation. The sending of request goes thru fine, I get a response on the reply-destination; however the message never gets consumed. From the logs, I can see that a MessageConsumer was created for the reply-destination specified. The application eventually timesout after default 5000ms.
Here's my configuration -
My client code is -Code:<integration:channel id="requestChannel" /> <integration:channel id="responseChannel" /> <integration:gateway id="pRequestGateway" default-request-channel="requestChannel" service-interface="com.message.IRequestGateway" /> <integration:gateway id="pResponseGateway" default-reply-channel="responseChannel" service-interface="com.message.IResponseGateway" /> <jms:outbound-gateway id="calcOutboundGateway" request-channel="requestChannel" request-destination="calcRequestTopic" connection-factory="cachingConnectionFactory" reply-destination="calcResponseQueue" reply-channel="responseChannel"/> <bean id="calcRequestTopic" class="com.tibco.tibjms.TibjmsTopic"> <constructor-arg value="${com.calc.request.topic}" /> </bean> <bean id="calcResponseQueue" class="com.tibco.tibjms.TibjmsQueue"> <constructor-arg value="${com.calc.response.queue}" /> </bean>
Any pointers would be of great help.Code:this.requestGateway.sendMessage(message); final String response = this.responseGateway.receiveMessage();
Thanks,
Dwipin Chandran.


Reply With Quote