Re: Fwd: Connection pooling for VM protocol?

2014-04-23 Thread artnaseef
Connection pooling is a solution to the problem of overhead in creating and discarding connections when using a technology that doesn't support long-lived connections. If the technology used is straight JMS, there should be no need to use pooling. What client technology is it? -- View

Re: Connection pooling for VM protocol?

2014-04-23 Thread Gary Tully
be a pooling benefit. But the age old answer is to 'ask the computer' for your particular use case. On 22 April 2014 17:07, Paul Gale wrote: > Hi, > > Connection pooling is generally recommended as a good thing. However, is > pooling of VM protocol (vm://) based connecti

Fwd: Connection pooling for VM protocol?

2014-04-22 Thread Paul Gale
Hi, Connection pooling is generally recommended as a good thing. However, is pooling of VM protocol (vm://) based connections required/advised/nonsensical when communicating between Camel and a broker in which it is embedded? Please explain. >From what I have read the VM protocol bypasses

Re: Connection pooling - validation

2011-12-27 Thread Dejan Bosanac
We don't have that implemented (contributions are welcomed :), but the usual approach is to use failover transport ( http://activemq.apache.org/failover-transport-reference.html) which will ensure that connection is automatically reconnected when broker restarts. Regards -- Dejan Bosanac - http:

Re: Connection pooling - validation

2011-12-27 Thread Stevo Slavić
Hi Dejan, I'm mostly interested in connection validation, but I see that Session and MessageProducer objects are being pooled as well. I'm using Spring's JmsTemplate and MessagListenerContainer and would like to make sure that they do not get "broken" pooled objects when ActiveMQ is down after it

Re: Connection pooling - validation

2011-12-27 Thread Dejan Bosanac
Hi Stevo, what kind of validation are you interested in? Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mo

Connection pooling - validation

2011-12-26 Thread Stevo Slavić
Hello ActiveMQ community, org.apache.activemq.pool.PooledConnectionFactory doesn't seem to support configuring validation of connections. Or am I missing something? Regards, Stevo.

connection pooling and maximum number of sessions on a connection?

2010-11-22 Thread Joe Niski
More questions in follow-up to my question about the activemq-ra.jar and custom-built .car files in Geronimo 2.1.4: - Is the ManagedConnectionFactory actually pooling connections behind the scenes? - Is there a theoretical limit to the number of sessions that can be created on an ActiveMqConnec

Connection pooling from Spring & Mule

2009-05-31 Thread Chetan Sarva
Hi, Is Jencks still the preferred method of pooling connections for Spring's JmsTemplate? The jencks.org site is dead and gone, and the codehaus site seems a bit stale so it's hard to gauge if this is still being used and/or maintained. Also, it appears that Mule uses the ActiveMQConnectionFactor

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread James Strachan
On 17/04/2008, jimmyfrank <[EMAIL PROTECTED]> wrote: > > 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 > stateles

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread jimmyfrank
>> 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 thi

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-17 Thread jimmyfrank
or 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? > > Thanks. > -- View this messag

Re: Connection pooling when use the .NET Messaging API (NMS)

2008-04-16 Thread James Strachan
m 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 connec

Connection pooling when use the .NET Messaging API (NMS)

2008-04-16 Thread jimmyfrank
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 fin

Re: Broker concurrency and connection pooling in amq 5

2008-02-07 Thread Rob Davies
On Feb 7, 2008, at 7:31 AM, Jason Rosenberg wrote: I was reading some old discussion threads on connection pooling. There seems to be some conflicting information, specifically whether it's a good idea to pool connections. I have been using the jencks-amqpool package for po

Broker concurrency and connection pooling in amq 5

2008-02-06 Thread Jason Rosenberg
I was reading some old discussion threads on connection pooling. There seems to be some conflicting information, specifically whether it's a good idea to pool connections. I have been using the jencks-amqpool package for pooling connections (and also trying the pool package within activemq

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Daniel Gradecak <[EMAIL PROTECTED]> wrote: > BTW thats really intended for folks who are using the JMS API directly > rather than JmsTemplate > So for better performances it is better to use the API directly ? Yes > No you can't. JmsTemplate creates/closes all the JMS resources

Re: Connection pooling

2007-04-24 Thread Daniel Gradecak
BTW thats really intended for folks who are using the JMS API directly rather than JmsTemplate So for better performances it is better to use the API directly ? No you can't. JmsTemplate creates/closes all the JMS resources each time so you're only hope is to use only sending along with Pool

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Daniel Gradecak <[EMAIL PROTECTED]> wrote: I wonder if if this configuration does the pooling correctly? ${jms.brokerUrl} ${jms.transaction.timeout} ${jms.brokerUrl} ${jms.pool.maxConnections} ${jms.recei

Re: Connection pooling

2007-04-24 Thread Daniel Gradecak
I wonder if if this configuration does the pooling correctly? class="org.apache.activemq.ra.ActiveMQResourceAdapter"> name="serverUrl">${jms.brokerUrl} class="org.jencks.factory.TransactionManagerFactoryBean"> name="defaultTransactionTimeoutSeconds">${jms.transaction.timeou

Re: Connection pooling

2007-04-24 Thread James Strachan
On 4/24/07, Peter Steil <[EMAIL PROTECTED]> wrote: Hi, I am using release 4.1.1 and I am wondering whether or not TopicConnections are pooled automatically somehow. No. I have quite a lot TopicPublisher who publish to different topics. Should I keep one TopicConnection open and use it for

Connection pooling

2007-04-24 Thread Peter Steil
Hi, I am using release 4.1.1 and I am wondering whether or not TopicConnections are pooled automatically somehow. I have quite a lot TopicPublisher who publish to different topics. Should I keep one TopicConnection open and use it for all TopicSessions or should I open and close the connections

Re: [Spam: 5.0] Connection pooling

2007-03-16 Thread Christopher G. Stach II
>>> Can anyone give me some idea on how i can implement the activemq >>> connection >>> pooling. >>> I tried using this code >>> PooledConnectionFactory connectionFactory = new >>> PooledConnectionFactory(ipAddress

Re: [Spam: 5.0] Connection pooling

2007-03-16 Thread garima015
on how i can implement the activemq >> connection >> pooling. >> I tried using this code >> PooledConnectionFactory connectionFactory = new >> PooledConnectionFactory(ipAddress); >> >> and then setting up the number of connections.But when i ran it i go

Re: Connection pooling

2007-03-15 Thread Bruce Snyder
On 3/15/07, garima015 <[EMAIL PROTECTED]> wrote: Hi, Can anyone give me some idea on how i can implement the activemq connection pooling. I tried using this code PooledConnectionFactory connectionFactory = new PooledConnectionFactory(ipAddress); and then setting up the num

Connection pooling

2007-03-15 Thread garima015
Hi, Can anyone give me some idea on how i can implement the activemq connection pooling. I tried using this code PooledConnectionFactory connectionFactory = new PooledConnectionFactory(ipAddress); and then setting up the number of connections.But when i ran it i got this error