Skip to content

Commit 36f7e88

Browse files
committed
Minor tweaks
1 parent 3206e03 commit 36f7e88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Microsoft.Azure.ServiceBus/Amqp/AmqpMessageConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ namespace Microsoft.Azure.ServiceBus.Amqp
1717

1818
static class AmqpMessageConverter
1919
{
20+
internal const string PartitionKeyName = "x-opt-partition-key";
21+
internal const string ViaPartitionKeyName = "x-opt-via-partition-key";
2022
const string EnqueuedTimeUtcName = "x-opt-enqueued-time";
2123
const string ScheduledEnqueueTimeUtcName = "x-opt-scheduled-enqueue-time";
2224
const string SequenceNumberName = "x-opt-sequence-number";
2325
const string EnqueueSequenceNumberName = "x-opt-enqueue-sequence-number";
2426
const string LockedUntilName = "x-opt-locked-until";
2527
const string PublisherName = "x-opt-publisher";
2628
const string PartitionIdName = "x-opt-partition-id";
27-
internal const string PartitionKeyName = "x-opt-partition-key";
28-
internal const string ViaPartitionKeyName = "x-opt-via-partition-key";
2929
const string DeadLetterSourceName = "x-opt-deadletter-source";
3030
const string TimeSpanName = AmqpConstants.Vendor + ":timespan";
3131
const string UriName = AmqpConstants.Vendor + ":uri";

src/Microsoft.Azure.ServiceBus/Core/MessageBatch.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ private void ThrowIfDisposed()
134134
{
135135
if (result == null)
136136
{
137-
throw new ObjectDisposedException("MessageBatch is has been disposed and cannot be re-used.");
137+
throw new ObjectDisposedException("MessageBatch has been disposed and cannot be re-used.");
138138
}
139139
}
140140

141-
private string DebuggerDisplay => $"MessageBatch: size={Size}, message count={datas.Count}, maximum size={maximumBatchSize}.";
141+
private string DebuggerDisplay => $"MessageBatch: size={Size}; message count={datas.Count}; maximum size={maximumBatchSize}.";
142142
}
143143
}

0 commit comments

Comments
 (0)