Hi, I have a Jms target which sends the messages to ApacheMQ queues and this is my configuration now.How can I now read these messages from the queue and reply back through the same channel adapter??Should I use JMS Gateway instead of jmstarget to stimulate the asynchronous messaging??
Code:<channel-adapter id="jmsChannel" target="jmsTarget"/>
<jms-target id="jmsTarget" connection-factory="connectionFactory" destination="destination"/>
<beans:bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
<beans:property name="brokerURL" value="tcp://localhost:61616" />
</beans:bean>
<beans:bean id="destination" class="org.apache.activemq.command.ActiveMQQueue">
<beans:constructor-arg index="0" value="HelloJMS"/>
</beans:bean>
