activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: Receiving over IP and port using TCP
Date Mon, 20 Oct 2014 22:37:56 GMT
That code is trying to communicate with the broker without using the broker's
protocol (openwire).  So, the broker is really complaining that it cannot
properly parse the content.

The correct way to use TCP/IP to connect to the broker is to create an
ActiveMQConnectionFactory() using the tcp transport (like this for
localhost: tcp://localhost:61616), and then use the ActiveMQConnection to
create a session and producer, then send a message.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message