Hello,
New here, thank you all in advance for the responce and appologies if i should go to different post, but was not sure (please advice if i should not post here).
I am new to spring remoting over jms, what i need to do is call a method from client to server and get a responce back. For this reason i have the following configuration:
server
clientCode:<bean id="clientServiceImpl" class="com.ClientServiceImpl"/> <bean id="clientServiceRemote" class="org.springframework.jms.remoting.JmsInvokerServiceExporter"> <property name="service"> <bean class="com.ClientServiceImpl"/> </property> <property name="serviceInterface" value="com.ClientService"/> </bean> <bean class="org.springframework.jms.listener.SimpleMessageListenerContainer"> <property name="connectionFactory" ref="connectionFactory"/> <property name="destination" ref="cudest"/> <property name="concurrentConsumers" value="3"/> <property name="messageListener" ref="clientServiceRemote"/> </bean>
So here is the problem, this works when in activemq configuration i have advisorySupport=true, but not when advisorySupport=false. Is there such a constrain? I have not found it somewhere, but i could not make it work with advisorySupport off.Code:<bean id="ClientService" class="org.springframework.jms.remoting.JmsInvokerProxyFactoryBean"> <property name="serviceInterface" value="com.ClientService"/> <property name="connectionFactory" ref="connectionFactory"/> <property name="queue" ref="cudest"/> </bean>
The same happens when i use lingo.
activemq is embeded inside application (if it matters) but the plan is to make it external
Again thank you in advance guys!


Reply With Quote
