0

I'm currently doing some tests on Service Bus for Windows Server, and I'm using the EnqueuedTimeUtc property of the BrokeredMessage class for some performance tests (to calculate whether how much of the overhead is from Service Bus and how much of it is from my application code).

In the configuration of the topics and queues, I set up auto-forwarding to automatically forward messages from a subscription to a queue.

To correctly interpret the measurements, I have to know whether EnqueuedTimeUtc on a BrokeredMessage represents the time that the original message was sent, or if it represents the time that the messages was forwarded to the queue.

Which is it? The original enqueue time on the topic, or the second enqueue on the queue?

Tommy Carlier
  • 7,951
  • 3
  • 26
  • 43

2 Answers2

1

When asking the same question on the MSDN forums, I got the following answer from Dan Rosanova who works on the Service Bus team at Microsoft:

It’s not the enqueue from the upstream queue / entity - it is the stamped time that the Service Bus server stored that message into the entity.

Tommy Carlier
  • 7,951
  • 3
  • 26
  • 43
-1

The second Enqueue time on the Queue - when it is auto-forwarded.

Sreeram Garlapati
  • 4,877
  • 17
  • 33
  • I also asked the question in the MSDN Forum, and got the opposite answer from Dan Rosanova, who is a Senior Program Manager on the Azure Service Bus team of Microsoft. – Tommy Carlier Mar 23 '15 at 13:41