the broker maintains some per connection state, connectionId and
clientId to enforce the single clientId in use jms requirement, this
can be an area of thread contention on heavily loaded systems that
open/close many connections.
So even for vm connections (where there is no tcp socket) there will
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
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
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
con
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
con
On 17/04/2008, jimmyfrank <[EMAIL PROTECTED]> 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
> connectio
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
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 number of connections.Bu
14 matches
Mail list logo