Skip to content

Using IAnonymousProducer without registring each producer as anonymous #479

Answered by Havret
MehdiRifi asked this question in Q&A
Discussion options

You must be logged in to vote

The ArtemisNetClient simplifies the AMQP API by eliminating the need for a session within the API. When you create a producer or consumer, each resource independently creates its own session, which is then retained as part of the producer or consumer objects, respectively.

As I mentioned in my previous response, AMQP resources are designed to be long-lived entities. Adhering to this best practice is relatively straightforward for console applications but can be challenging for web-based applications or applications that utilize dependency injection concepts in general. To properly use the library in these contexts, users must navigate a series of non-trivial decisions, such as how to regi…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Havret
Comment options

Comment options

You must be logged in to vote
1 reply
@Havret
Comment options

Answer selected by MehdiRifi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants