This is my Spring configuration and I have ActiveMQ integrated with JBoss. I am able to add messages to the queue but they never seem to get picked up. I understand that the connection needs to be started. Where should this be done? And is it possible to make it the default behavior? I tried to start the connection in the setup() method of my message sender but that didn't make any difference.
<bean id="messageBean" class="jms.MessageListenerBean" /> <bean id="listenerContainer" class="org.springframework.jms.listener.DefaultMessageListenerContainer"> <property name="connectionFactory" ref="connectionFactory"/> <property name="destination" ref="testQueue"/> <property name="messageListener" ref="messageBean"/> </bean> -- View this message in context: http://www.nabble.com/ActiveMQ-message-is-not-consumed-tp16597127s2354p16597127.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.