Service Bus Upgrade Scenario 2: Support the latest metadata properties on entities
Dev estimate: 8 Test estimate: 5
- QueueToQueue Transfer (ForwardTo)
- State of entity (enabled/disabled etc.)
- Enable Pre-Filtering.
- MessageCountDetails (Read-only)
• Supporting latest properties – if you have access to our sources, then the full set of properties are in these classes. I think the most notable changes will be AuthorizationRules properties and additional metadata. o QueueDescription o TopicDescription o SubscriptionDescription o RuleDescrpition
For Queue, this is the current design, those that are marked with star already exists for Java SDK.
public static readonly TimeSpan MessageTimeToLiveDefaultValue;
public QueueDescription(string path)
public TimeSpan LockDuration *
public long MaxSizeInMegabytes *
public bool RequiresDuplicateDetection *
public bool RequiresSession *
public TimeSpan DefaultMessageTimeToLive *
public TimeSpan AutoDeleteOnIdle
public bool EnableDeadLetteringOnMessageExpiration *
public TimeSpan DuplicateDetectionHistoryTimeWindow *
public string Path *
public int MaxDeliveryCount *
public bool EnableBatchedOperations *
public long SizeInBytes *
public long MessageCount *
public MessageCountDetails MessageCountDetails
public AuthorizationRules Authorization
public bool IsAnonymousAccessible
public bool SupportOrdering
public EntityStatus Status
public EntityAvailabilityStatus AvailabilityStatus
public string ForwardTo
public DateTime CreatedAt
public DateTime UpdatedAt
public DateTime AccessedAt
public PartitioningPolicy PartitioningPolicy
public string UserMetadata
The DateTime created from JAXB are XMlGregorianCalender, which are hard to use with Java Date.
Updates of the queue description has been sent for CR.
all of them are in CR now.!
all of them checked in. Adding additional integration test for QueuetoQueue Forward surface some additional requirement.
get message count details seem to have some problem in integration test.
Authorization Rules are also pulled out.
finished the testing for the meta data get/set, through azure service with modify code not using local object's get/set, found majority of the meta data can't be updated through azure service, error msg include "
https://javasdksbnamespace.servicebus.windows.net/testSubscriptionCanBeUpdated/subscriptions/sub returned a response status of 400 Bad Request
Response Body: 400