开发者

ActiveMQ PooledConnectionFactory in C# (Apache.NMS)

开发者 https://www.devze.com 2023-03-21 04:57 出处:网络
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.:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号