NServiceBus icon indicating copy to clipboard operation
NServiceBus copied to clipboard

Address.SubScope is creating invalid queue names for azure

Open andreasohlund opened this issue 14 years ago • 10 comments

When either the gateway or timeout manager is used the default name is EndpointName.SubScope("XYZ") this creates addresses like MyServer.Timeouts and this is not a valid format for azure. We need a way to clean up the addresses.

Correction: It's the Gateway that is hardcoded to use MSMQ, change this to pickup the IReceiveMessages that is available in the container

andreasohlund avatar Dec 19 '11 18:12 andreasohlund

Yves: Lets talk this one through when you have the bandwith

andreasohlund avatar Dec 19 '11 18:12 andreasohlund

The dot (.) is what makes Azure don't like it? do we want to have it configured so the user can configured to be without the . or using some kind of other "queue notation" ?

On Mon, Dec 19, 2011 at 8:25 PM, Andreas hlund < [email protected]

wrote:

When either the gateway or timeout manager is used the default name is EndpointName.SubScope("XYZ") this creates addresses like MyServer.Timeouts and this is not a valid format for azure. We need a way to clean up the addresses.


Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/169

shlomii avatar Dec 20 '11 07:12 shlomii

Yes azure storage doesn't like the dot's, and a few other things

http://msdn.microsoft.com/en-us/library/windowsazure/dd179349.aspx

But I guess every underlying technology will have it's own little implementation details, maybe we should let this implemenation provide the convention?

yvesgoeleven avatar Dec 20 '11 07:12 yvesgoeleven

Oops wrong button

yvesgoeleven avatar Dec 20 '11 07:12 yvesgoeleven

IProvideQueueNameConvention ?

:)

On Tue, Dec 20, 2011 at 9:30 AM, yvesgoeleven < [email protected]

wrote:

Oops wrong button


Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/169#issuecomment-3215601

shlomii avatar Dec 20 '11 07:12 shlomii

Yes, but I think it would be best to keep our address format "queue" independent. Ie support the X.Y@server syntax. And then have the different queue implementations translate that into it's native format.

So in this case it would mean the you would need to "sanatize" the address Yves and remove the "." etc etc.

Does that make sense?

On Tue, Dec 20, 2011 at 8:30 AM, yvesgoeleven [email protected] wrote:

Oops wrong button


Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/169#issuecomment-3215601

andreasohlund avatar Dec 20 '11 07:12 andreasohlund

The azure and servicebus queues already do that...

yvesgoeleven avatar Dec 20 '11 07:12 yvesgoeleven

Ah, then I know why the error is. The gateway seems to hardcode the transport to msmq. I'll fix that!

On Tue, Dec 20, 2011 at 8:42 AM, yvesgoeleven [email protected] wrote:

The azure and servicebus queues already do that...


Reply to this email directly or view it on GitHub: https://github.com/NServiceBus/NServiceBus/issues/169#issuecomment-3215667

andreasohlund avatar Dec 20 '11 07:12 andreasohlund

@andreasohlund @yvesgoeleven I assume this is fixed?

SimonCropp avatar Jul 09 '13 05:07 SimonCropp

Yes that is fixed

johnsimons avatar Jul 09 '13 07:07 johnsimons