Re: Sending message from EJB3: poor performances after a while

2008-04-09 Thread James Strachan
See http://activemq.apache.org/how-do-i-use-jms-efficiently.html On 09/04/2008, James Strachan <[EMAIL PROTECTED]> wrote: > You are not using your J2EE providers JMS proxy to cache things; you > are using vanilla JMS. > > So try using the PooledConnectionFactory from ActiveMQ instead. > > > > O

Re: Sending message from EJB3: poor performances after a while

2008-04-09 Thread James Strachan
You are not using your J2EE providers JMS proxy to cache things; you are using vanilla JMS. So try using the PooledConnectionFactory from ActiveMQ instead. On 09/04/2008, paoletto <[EMAIL PROTECTED]> wrote: > > i wrote the following Stateless Session Bean, and ran in a j2ee application > on jb

Sending message from EJB3: poor performances after a while

2008-04-09 Thread paoletto
i wrote the following Stateless Session Bean, and ran in a j2ee application on jbossAS. With the following implementation i have the problem that, if for example i put the send in a for to send 1000 messages (invocations) in a row, after about 200-250 the sender start to slow down and at about 30