EntityNameHelper Class
- java.
lang. Object - com.
microsoft. azure. servicebus. management. EntityNameHelper
- com.
public class EntityNameHelper
This class can be used to format the path for different Service Bus entity types.
Constructor Summary
Constructor | Description | |
---|---|---|
EntityNameHelper() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static String |
formatDeadLetterPath(String entityPath)
Formats the dead letter path for either a queue, or a subscription. |
static String |
formatRulePath(String topicPath, String subscriptionName, String ruleName)
Formats the rule path, based on the topic path, subscription name and the rule name. |
static String |
formatSubscriptionPath(String topicPath, String subscriptionName)
Formats the subscription path, based on the topic path and subscription name. |
static String |
formatTransferDeadLetterPath(String entityPath)
Formats the transfer dead letter path. |
Methods inherited from java.lang.Object
Constructor Details
EntityNameHelper
public EntityNameHelper()
Method Details
formatDeadLetterPath
public static String formatDeadLetterPath(String entityPath)
Formats the dead letter path for either a queue, or a subscription.
Parameters:
- The name of the queue, or path of the subscription.
Returns:
- The path as a String of the dead letter entity.
formatRulePath
public static String formatRulePath(String topicPath, String subscriptionName, String ruleName)
Formats the rule path, based on the topic path, subscription name and the rule name.
Parameters:
- The name of the topic, including slashes.
- The name of the subscription.
- The name of the rule.
Returns:
formatSubscriptionPath
public static String formatSubscriptionPath(String topicPath, String subscriptionName)
Formats the subscription path, based on the topic path and subscription name.
Parameters:
- The name of the topic, including slashes.
- The name of the subscription.
Returns:
formatTransferDeadLetterPath
public static String formatTransferDeadLetterPath(String entityPath)
Formats the transfer dead letter path.
Parameters:
- Path of the entity whose transfer dead letter needs to be formatted.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for