우리는 NServicebus를 사용하는 온 프레미스 웹 앱을 보유하고 있으며 큐를 전체적으로 클라우드 기반의 대규모 마이그레이션 경로의 일부로 푸른 색으로 이동하려고합니다. 나는 POC를 작동 시키려고 노력하고 있지만 작동시키지 못하고있다.
로컬 NServiceBus Azure 큐에 게시
나는 다음과 같은 구성이 있습니다 내 응용 프로그램에서
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821" />
<section name="AzureQueueConfig" type="NServiceBus.Config.AzureQueueConfig, NServiceBus.Azure"/>
<section name="UnicastBusConfig" type="NServiceBus.Config.UnicastBusConfig, NServiceBus.Core"/>
<section name="MessageForwardingInCaseOfFaultConfig" type="NServiceBus.Config.MessageForwardingInCaseOfFaultConfig, NServiceBus.Core"/>
</configSections>
<MessageForwardingInCaseOfFaultConfig ErrorQueue="error" />
<AzureQueueConfig QueueName="timeoutmanager"
ConnectionString="DefaultEndpointsProtocol=https;AccountName=<My storage account>;AccountKey=<My primary access key>"/>
<UnicastBusConfig TimeoutManagerAddress="timeoutmanager">
<MessageEndpointMappings>
<add Messages="TechFu.Services.Bus.Messages.Publishing.CMS.SitePagePublishMessage, TechFu.Services.Bus.Messages" Endpoint="sitepagepublish" />
</MessageEndpointMappings>
내가 버스가 구성이를 같은 :
Configure.WithWeb()
.StructureMapBuilder()
.InMemorySubscriptionStorage()
.AzureMessageQueue()
.JsonSerializer()
.UnicastBus()
.LoadMessageHandlers()
.IsTransactional(true)
.CreateBus()
.Start();
The destination queue '[email protected] DefaultEndpointsProtocol=https;AccountName=<My storage account>;AccountKey=<My primary access key>’ could not be found. You may have misconfigured the destination for this kind of message (TechFu.Services.Bus.Messages.Publishing.CMS.SitePagePublishMessage) in the MessageEndpointMappings of the UnicastBusConfig section in your configuration file. It may also be the case that the given queue just hasn't been created yet, or has been deleted.
나는 손실의 비트에있어
, 나는했습니다 :
내가 큐에 게시하려고, 다음과 같은 메시지가 뜹니다 내가 웹에서 찾은 몇 가지 다른 샘플을 시도했지만, 나는 푸른 지식의 부족이 그 길을 걷고 있다고 느낍니다. 이 질문에서 설정의 대부분을 가져 왔습니다. nservicebus on-premise host using azure Queue 내가 놓친 일부 마법이 있습니까?
예, 그것은 저에게 다소 바보입니다. 친구가 저에게 Azure Storage Explorer http : //azurestorageexplorer.codeplex를 보여주었습니다.co.kr/내가 그에게 당신의 의견을 보여준 후에 모든 것이 합리적이었습니다. 하늘색 관리 패널이 얼마나 끔찍하고도 직관적이지 않은 인터페이스입니까? FTP는 더 친숙 할 것입니다 ... – jcavaliere
예, 계정 관리를위한 도구가 필요합니다. 서비스 버스 대기열의 경우 조금 더 좋습니다. 포털에서 해당 대기열을 만들 수 있지만 (내부에서 볼 수는 없습니다) –