Paul
Paul

Reputation: 1875

Connection pooled in C# (Apache.NMS)

I am researching how to use a connection pool in C#.Net (we are using Apache.NMS). So far the documentation I found, e.g.:

Does not very much relate to .net development.

In .Net we are only given NMSConnectionFactory class with CreateConnection() method which doesn't seem to implement a pool of connection.

The reason I wanted to figure this out is that I don't want to create a connection each time the message is being sent.

How do I use/configure connection pool in C# for activeMQ?

Upvotes: 3

Views: 1469

Answers (1)

Tim Bish
Tim Bish

Reputation: 18356

The C# client doesn't currently provide a pooled version of the Connection factory like what the Java client provides. You could of course implement one and donate it to the project.

Upvotes: 1

Related Questions