Hi,
I am using SI 2.0.5 with Spring 3.0.6. 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; the message gets present on the reply-channel. But then I get an error saying "Dispatcher has no subscribers". This is my configuration -
This is how I call -Code:<bean id="queueCachingConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory"> <property name="targetConnectionFactory"> <bean class="com.tibco.tibjms.TibjmsQueueConnectionFactory"> <property name="serverUrl" value="${com.jms.serverurl}" /> <property name="userName" value="${com.jms.username}" /> <property name="userPassword" value="${com.jms.password}" /> </bean> </property> <property name="sessionCacheSize" value="${com.ms.sessionCacheSize}" /> <property name="cacheProducers" value="${com.jms.cacheProducers}" /> </bean> <bean id="syncMessageService" class="com.message.SyncMessageService"/> <integration:channel id="requestChannel" /> <integration:channel id="responseChannel" /> <integration:gateway id="dbpRequestGateway" default-request-channel="requestChannel" service-interface="com.message.IRequestGateway" /> <si-jms:outbound-gateway id="calcOutboundGateway" request-channel="requestChannel" request-destination="calcRequestQueue" connection-factory="queueCachingConnectionFactory" reply-destination="calcResponseQueue" reply-channel="responseChannel" receive-timeout="5000"/> <bean id="calcRequestQueue" class="com.tibco.tibjms.TibjmsQueue"> <constructor-arg value="${com.calc.request.queue}" /> </bean> <bean id="calcResponseQueue" class="com.tibco.tibjms.TibjmsQueue"> <constructor-arg value="${com.calc.response.queue}" /> </bean>
I get the error on the this.requestGateway.sendMessage(message); call.Code:this.requestGateway.sendMessage(message); final String response = this.responseGateway.receiveMessage();
Any pointers here would be of great help.
Thanks,
Dwipin.


Reply With Quote