Hi

I am trying to send a message using Jmsadapters from one pc to other

in this manner

PC1
====

<jms-source channel="inChannel"
connection-factory="connectionFactory" destination="inQueue" />

<jms-target channel="inChannel"
connection-factory="connectionFactory" destination="inQueue" />

<beans:bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFacto ry">
<beansroperty name="brokerURL" value="tcp://localhost:61616" />
</beans:bean>

<beans:bean id="inQueue"
class="org.apache.activemq.command.ActiveMQQueue">
<beans:constructor-arg index="0" value="sample.queue" />
</beans:bean>



PC2
====

<jms-source channel="inChannel"
connection-factory="connectionFactory"
destination="inQueue"/>

<jms-target channel="inChannel"
connection-factory="connectionFactory"
destination="inQueue" />

<beans:bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFacto ry">
<beansroperty name="brokerURL" value="tcp://localhost:61616" />
</beans:bean>

<beans:bean id="inQueue"
class="org.apache.activemq.command.ActiveMQQueue">
<beans:constructor-arg index="0" value="sample.queue"/>
</beans:bean>



and sending message from PC1 using inChannel.send and in PC2 i am trying to receive message using inChannel.receive()

but not working please help me in this