On 20 August 2015 at 15:15:53, bendaoud mohamed (
bendaou...@gmail.com) wrote:
> I am studying AMQP protocol, i installed latest RabbitMQ version,
> i used default configuration. When i published message to topic
> with SwiftMQ/Proton JAVA client. the rabbitMQ broker disconnected
> me automatically. I checked log fil. Anyone has the same issue
> ???
>
> log file :
> =INFO REPORT==== 20-Aug-2015::12:11:52 ===
> accepting AMQP connection <0.558.22> (
192.168.10.1:55273
> ->
192.168.10.1:5673)
>
> =WARNING REPORT==== 20-Aug-2015::12:11:54 ===
> Closing session for connection <0.558.22>:
> {'v1_0.error',{symbol,<<"amqp:invalid-field">>},
> {utf8,<<"Attach rejected: {unknown_destination,\"topic://if-topic014\"}">>},
> undefined}
You are trying to use AMQP 1.0. It needs a plugin (ships with rabbitmq, see rabbitmq-plugins list).
RabbitMQ's primary protocol is AMQP 0-9-1 and despite the name, it is an entirely
different protocol from 1.0. The 0-9-1 ecosystem (client libraries, support in tools such as Wireshark,
documentation available) is well ahead 1.0 at the moment, so you may want to consider
that protocol.
--
MK
Staff Software Engineer, Pivotal/RabbitMQ