Thanks for the reply. I understood that in order to pass the data over TCP I need to follow ActiveMQConnectionFactory classes.
But my concern is, like when we do a socket programming, we connect to a port and push the data. The server code listens on the same port and reads the data as it comes. I want to do the same thing, where I want to push my content from a m2m device. The device sends data over TCP to a particular port. e.g. <āCā><0x02><data 1><data 2> Can we not read a particular socket/port and feed to Activemq? Regards Saurabh -- View this message in context: http://activemq.2283324.n4.nabble.com/Receiving-over-IP-and-port-using-TCP-tp4686563p4686602.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.