Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for producer and consumer configuration types #134

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/ArtemisNetCoreClient/ConsumerConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
namespace ActiveMQ.Artemis.Core.Client;

/// <summary>
/// Provides configuration options for creating sessions in an ActiveMQ Artemis message consumer.
/// </summary>
public class ConsumerConfiguration
{
/// <summary>
/// Gets or sets the name of the queue to consume messages from.
/// </summary>
public required string QueueName { get; init; }
}
10 changes: 10 additions & 0 deletions src/ArtemisNetCoreClient/ProducerConfiguration.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
namespace ActiveMQ.Artemis.Core.Client;

/// <summary>
/// Provides configuration options for creating sessions in an ActiveMQ Artemis message producer.
/// </summary>
public class ProducerConfiguration
{
/// <summary>
/// Gets or sets the name of the address to send messages to.
/// </summary>
public required string Address { get; init; }

/// <summary>
/// Gets or sets the routing type to use when sending messages.
/// </summary>
public RoutingType? RoutingType { get; init; }
}
Loading