You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to attach multiple consumers with identical addresses results in an exception from the ArtemisNetClient.Testing.
Exception Details:
ActiveMQ.Artemis.Client.Exceptions.CreateConsumerException: Link 'testQueue' has been attached already.
ActiveMQ.Artemis.Client.Exceptions.CreateConsumerException
Link 'testQueue' has been attached already.
at ActiveMQ.Artemis.Client.Builders.ConsumerBuilder.CreateAsync(ConsumerConfiguration configuration, CancellationToken cancellationToken)in/Users/havret/git/dotnet-activemq-artemis-client/src/ArtemisNetClient/Builders/ConsumerBuilder.cs:line 44
at ActiveMQ.Artemis.Client.Connection.CreateConsumerAsync(ConsumerConfiguration configuration, CancellationToken cancellationToken)in/Users/havret/git/dotnet-activemq-artemis-client/src/ArtemisNetClient/Connection.cs:line 65
at ActiveMQ.Artemis.Client.AutoRecovering.AutoRecoveringConsumer.RecoverAsync(IConnection connection, CancellationToken cancellationToken)in/Users/havret/git/dotnet-activemq-artemis-client/src/ArtemisNetClient/AutoRecovering/AutoRecoveringConsumer.cs:line 118
at ActiveMQ.Artemis.Client.AutoRecovering.AutoRecoveringConnection.PrepareRecoverable(IRecoverable recoverable, CancellationToken cancellationToken)in/Users/havret/git/dotnet-activemq-artemis-client/src/ArtemisNetClient/AutoRecovering/AutoRecoveringConnection.cs:line 234
at ActiveMQ.Artemis.Client.AutoRecovering.AutoRecoveringConnection.CreateConsumerAsync(ConsumerConfiguration configuration, CancellationToken cancellationToken)in/Users/havret/git/dotnet-activemq-artemis-client/src/ArtemisNetClient/AutoRecovering/AutoRecoveringConnection.cs:line 203
at ActiveMQ.Artemis.Client.Testing.UnitTests.SendMessageSpec.Should_send_message_to_multiple_shared_consumers()in/Users/havret/git/dotnet-activemq-artemis-client/test/ArtemisNetClient.Testing.UnitTests/SendMessageSpec.cs:line 91
at ActiveMQ.Artemis.Client.Testing.UnitTests.SendMessageSpec.Should_send_message_to_multiple_shared_consumers()in/Users/havret/git/dotnet-activemq-artemis-client/test/ArtemisNetClient.Testing.UnitTests/SendMessageSpec.cs:line 102
at ActiveMQ.Artemis.Client.Testing.UnitTests.SendMessageSpec.Should_send_message_to_multiple_shared_consumers()in/Users/havret/git/dotnet-activemq-artemis-client/test/ArtemisNetClient.Testing.UnitTests/SendMessageSpec.cs:line 102
at Xunit.Sdk.TestInvoker`1.<>c__DisplayClass48_1.<<InvokeTestMethodAsync>b__1>d.MoveNext()in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\Runners\TestInvoker.cs:line 264--- End of stack trace from previous location ---
at Xunit.Sdk.ExecutionTimer.AggregateAsync(Func`1asyncAction) in C:\Dev\xunit\xunit\src\xunit.execution\Sdk\Frameworks\ExecutionTimer.cs:line 48
at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1code) in C:\Dev\xunit\xunit\src\xunit.core\Sdk\ExceptionAggregator.cs:line 90
Expected behavior
The library should allow multiple consumers to be attached to the TestKit using the same address name without any issues.
Describe the bug
Attempting to attach multiple consumers with identical addresses results in an exception from the
ArtemisNetClient.Testing
.Exception Details:
Expected behavior
The library should allow multiple consumers to be attached to the TestKit using the same address name without any issues.
Environment:
Additional context
Failing test case:
The text was updated successfully, but these errors were encountered: