activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimmyfrank <>
Subject Re: Connection pooling when use the .NET Messaging API (NMS)
Date Thu, 17 Apr 2008 14:51:52 GMT

The application would be either a webservice or an .aspx page a user would
hit.  So a user might enter some info on a page with a form and then I'd
need to create all the activemq resources and send the message.  Since it's
stateless I'd need to be able to have the connections pooled like MSMQ
connections would be pooled.  Would Sprint.NET be able to do something

James.Strachan wrote:
> On 17/04/2008, jimmyfrank <> wrote:
>>  I'm using the .NET Messaging API to send and receive messages from
>> ActiveMQ.
>>  How would I pool connections?  Do I need to at all or is it handled
>> somehow
>>  for me by the broker?  I can find several forum posts that talk about
>>  connection pooling when using java JMS but I can't seem to find anything
>>  that talks about how to do this when using the .NET API's.  Do I need to
>> use
>>  the Spring.NET?
> It depends a little on your application. If its a client UI then just
> have a single connection and a few sessions and you'll be fine. If its
> more of a server, processing messages efficiently in a highly
> concurrent manner, then some kinda pooling mechanism such as in
> Spring.NET is preferable.
> I've added this to the NMS FAQ...
> -- 
> James
> -------
> Open Source Integration

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message