correct the user-agent property name (#8)

* correct the user-agent property name

* add new line

Co-authored-by: bailiu <bailiu@microsoft.com>
This commit is contained in:
Bainian Liu 2020-08-06 16:01:04 -07:00 коммит произвёл GitHub
Родитель 73afe43f8d
Коммит 711fdec54e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -72,7 +72,8 @@ public class ServiceBusJmsConnectionFactory implements ConnectionFactory, QueueC
if (customUserAgent != null && customUserAgent.length() > 0) {
userAgent.append("/").append(customUserAgent);
}
properties.put("userAgent", userAgent.toString());
properties.put("user-agent", userAgent.toString());
return properties;
});