I have a rebus- worker that runs on azure queue, I have configured the rebusworker that will receive and send messages and it works fine. But then I want to set up a client as a oneway client like this:
_bus = Configure.With(adapter)
.Transport(
t =>
t.UseAzureStorageQueuesAsOneWayClient(AppSettingsReader.AzureStorage)
)
.Routing(r => r.TypeBased()
.MapAssemblyOf<SomeCommand>(queueAddress)
)
})
.Start();
}
Where can i set the queue name I want to send messages to? As is it returns a null-reference exception for queuename.
I'm using rebus and rebus.AzureStorage 0.99.74