RE: Concurrent use of connections

2008-10-14 Thread Steven Van Loon
Thanks for the answer, will look at it. -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: dinsdag 14 oktober 2008 10:56 To: users@activemq.apache.org Subject: Re: Concurrent use of connections Please see the FAQ entry... http://activemq.apache.org/how-do-i-use-jms

Re: Concurrent use of connections

2008-10-14 Thread James Strachan
tStackTrace(); >} >} >}; >t.setName("Producer"); >t.start(); >} > > public static void main(String[] args) { >try { >initialize(); >

RE: Concurrent use of connections

2008-10-14 Thread Steven Van Loon
ize(); startConsumer(); startProducer(); } catch (Exception ex) { ex.printStackTrace(); } } } -Original Message- From: Joe Fernandez [mailto:[EMAIL PROTECTED] Sent: maandag 13 oktobe

RE: Concurrent use of connections

2008-10-13 Thread Steven Van Loon
ame Connection to > activeMQ by different threads? According to the JMS specification, > implementations should support concurrent use of Connections, so I created > one connection to be used by all consumer / producers. > > However, I experienced the problem that from a certain moment, n

Re: Concurrent use of connections

2008-10-13 Thread Joe Fernandez
gt; activeMQ by different threads? According to the JMS specification, > implementations should support concurrent use of Connections, so I created > one connection to be used by all consumer / producers. > > However, I experienced the problem that from a certain moment, no more > mes

Concurrent use of connections

2008-10-13 Thread Steven Van Loon
Hi all, Is anybody aware of possible problems when (re)using a same Connection to activeMQ by different threads? According to the JMS specification, implementations should support concurrent use of Connections, so I created one connection to be used by all consumer / producers. However, I