This is an automated email from the ASF dual-hosted git repository.
havret pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-nms-api.git
The following commit(s) were added to refs/heads/main by this push:
new 1def354 AMQNET-846 Fix typo
1def354 is described below
commit 1def35496cea4f9f7b48b28b8eb8738313feecbd
Author: Havret <[email protected]>
AuthorDate: Wed Jun 4 00:52:35 2025 +0200
AMQNET-846 Fix typo
---
.gitignore | 2 ++
src/nms-api/IRedeliveryPolicy.cs | 4 ++--
src/nms-api/policies/RedeliveryPolicy.cs | 2 +-
test/nms-api-test/RedeliveryPolicyTest.cs | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index a49d2c9..d63a078 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,5 @@ build/
package/
nms.sln.DotSettings.user
tools/
+
+.DS_Store
diff --git a/src/nms-api/IRedeliveryPolicy.cs b/src/nms-api/IRedeliveryPolicy.cs
index dc8e799..991255e 100644
--- a/src/nms-api/IRedeliveryPolicy.cs
+++ b/src/nms-api/IRedeliveryPolicy.cs
@@ -72,7 +72,7 @@ namespace Apache.NMS
int BackOffMultiplier { get; set; }
/// <summary>
- /// Returns the provider-specific outcome code to use when a message
is rejected by the client
+ /// Returns the provider-specific outcome to use when a message is
rejected by the client
/// after reaching the maximum redelivery threshold for the specified
destination.
///
/// The returned integer should map to an outcome defined by the
specific provider implementation:
@@ -97,6 +97,6 @@ namespace Apache.NMS
/// </summary>
/// <param name="destination">The destination the message was received
from.</param>
/// <returns>An integer representing the provider-specific outcome
code.</returns>
- int GetOutcode(IDestination destination);
+ int GetOutcome(IDestination destination);
}
}
\ No newline at end of file
diff --git a/src/nms-api/policies/RedeliveryPolicy.cs
b/src/nms-api/policies/RedeliveryPolicy.cs
index cd4cc53..81c6b58 100644
--- a/src/nms-api/policies/RedeliveryPolicy.cs
+++ b/src/nms-api/policies/RedeliveryPolicy.cs
@@ -106,7 +106,7 @@ namespace Apache.NMS.Policies
/// <inheritdoc />
- public abstract int GetOutcode(IDestination destination);
+ public abstract int GetOutcome(IDestination destination);
#endregion
diff --git a/test/nms-api-test/RedeliveryPolicyTest.cs
b/test/nms-api-test/RedeliveryPolicyTest.cs
index f9e5873..158b264 100644
--- a/test/nms-api-test/RedeliveryPolicyTest.cs
+++ b/test/nms-api-test/RedeliveryPolicyTest.cs
@@ -147,7 +147,7 @@ namespace Apache.NMS.Test
public class RedeliveryPolicyImpl : RedeliveryPolicy
{
- public override int GetOutcode(IDestination destination)
+ public override int GetOutcome(IDestination destination)
{
throw new System.NotImplementedException();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact