|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by WhatIsTheJava in Java Programming Language, Enterprise Java Beans (EJB), Spring
Hi I have a distributed spring application that connects to an active MQ broker.
I have multiple client apps that have message listeners listening to a queue.
If a message comes in with correct selector then the App will process the message.
Well thats the plan. Everything works if I only have one client app.
If I have 2 clients the first one started recieves its messages but the other clients will not receive messages. They are all running the same jar. If I rfeset the 2nd client then it picks up its messages but then will not pick up any new ones.
Kind of lost with this
Here is my spring config
Any help would br great
1:
2:
3:
4:
5:
6:
7:
|
<!-- and this is the message listener container -->
<bean id="clientJmsContainer" class="org.springframework.jms.listener.SimpleMessageListenerContainer">
<property name="connectionFactory" ref="listenerConnectionFactory" />
<property name="destination" ref="clientDestination" />
<property name="messageListener" ref="clientMessageListener" />
<property name="messageSelector" value="selector = '192.168.237.38'"/>
</bean>
|
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625