无法将“ azure.servicebus.subscription-receive-mode”下的属性绑定到com.microsoft.azure.servicebus.ReceiveMode:

时间:2018-12-17 18:12:52

标签: java spring azure

我受命更新一个利用Microsoft Azure Servicebus的Spring Boot应用程序。 但是,客户端声称它可以在Azure上正常运行-但我无法启动它:

相关配置:

azure:
  notificationConnectionString: Endpoint=sb://voobv.servicebus.windows.net/;SharedAccessKeyName=DefaultFullSharedAccessSignature;SharedAccessKey=xxxx/0XJib3iJA45p1D6Wc=
  notificationHubName: voob
  servicebus:
    connection-string: Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=xxxx=
    topic-name: applicationbuildevents
    subscription-name: apiserver_applicationbuildevents
    subscription-receive-mode: PEEKLOCK

错误消息:

***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to bind properties under 'azure.servicebus.subscription-receive-mode' to com.microsoft.azure.servicebus.ReceiveMode:

    Property: azure.servicebus.subscription-receive-mode
    Value: PEEKLOCK
    Origin: class path resource [application.yml]:75:32
    Reason: 0

Action:

Update your application's configuration

我已经对此进行了大量的搜索,但是似乎可以解决一个独特的问题(以及来自spring / microsoft的极其严重的错误消息)

有人看到过类似的问题吗?我强烈希望暂时删除所有servicebus代码,但宁愿代码保持完整...

0 个答案:

没有答案