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
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
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
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:
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
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
Hello ActiveMQ community,
org.apache.activemq.pool.PooledConnectionFactory doesn't seem to support
configuring validation of connections. Or am I missing something?
Regards,
Stevo.
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
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
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
>> 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
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
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
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
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
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
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
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
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
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
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
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
>>> 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
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
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
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
26 matches
Mail list logo