@@ -61,14 +61,19 @@ public class AMQConnection extends ShutdownNotifierComponent implements Connecti
6161 * @see Connection#getClientProperties
6262 */
6363 public static Map <String , Object > defaultClientProperties () {
64+ Map <String , Object > capabilities = new HashMap <String , Object >();
65+ capabilities .put ("publisher_confirms" , true );
66+ capabilities .put ("exchange_exchange_bindings" , true );
67+ capabilities .put ("basic.nack" , true );
6468 return Frame .buildTable (new Object [] {
6569 "product" , LongStringHelper .asLongString ("RabbitMQ" ),
6670 "version" , LongStringHelper .asLongString (ClientVersion .VERSION ),
6771 "platform" , LongStringHelper .asLongString ("Java" ),
6872 "copyright" , LongStringHelper .asLongString (
6973 "Copyright (C) 2007-2011 VMware, Inc." ),
7074 "information" , LongStringHelper .asLongString (
71- "Licensed under the MPL. See http://www.rabbitmq.com/" )
75+ "Licensed under the MPL. See http://www.rabbitmq.com/" ),
76+ "capabilities" , capabilities
7277 });
7378 }
7479
0 commit comments