You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could make believe that content-type, content-encoding,..... are "valid" AMQP properties, while in fact RabbitMQ states :
Invalid properties will be ignored. Valid properties are:
content_type
content_encoding
priority
correlation_id
reply_to
expiration
message_id
timestamp
type
user_id
app_id
cluster_id
Notice the difference between the dash (-) and the ('_underscore')
To avoid confusion, the java client should print the "official" property names using underscores.
The text was updated successfully, but these errors were encountered:
ddewaele
changed the title
com.rabbitmq.client.AMQP.BasicProperties toString
com.rabbitmq.client.impl.AMQContentHeader toString uses dashes instead of underscores for property names
May 29, 2016
michaelklishin
changed the title
com.rabbitmq.client.impl.AMQContentHeader toString uses dashes instead of underscores for property names
AMQContentHeader toString uses dashes instead of underscores for property names
May 29, 2016
Property naming is in part language specific. I'm OK with outputting them the way they are expected to be provided somewhere else (I'm guessing in the management UI?) but underscores in names are expected in some languages and not expected in others.
The
com.rabbitmq.client.impl.AMQContentHeader
has the following toString implementationIt generates strings like this
This could make believe that
content-type
,content-encoding
,..... are "valid" AMQP properties, while in fact RabbitMQ states :Notice the difference between the dash (
-
) and the ('_underscore')To avoid confusion, the java client should print the "official" property names using underscores.
The text was updated successfully, but these errors were encountered: