ActiveMQ PooledConnectionFactory in C# (Apache.NMS)
I am researching for the way to use PooledConnectionFactory
in C#.Net (we are using Apache.NMS). So far the documentation I found, e.g.:
- http://activemq.apache.org/spring-support.html and
- http://activemq.apache.org/maven/acti开发者_运维技巧vemq-core/apidocs/org/apache/activemq/pool/PooledConnectionFactory.html
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?
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.
精彩评论