BTW do you have a stack trace?

You can create as many connections as you like. though typically you
generally only need 1 connection, but create many sessions &
producers/consumers as its the session & producer/consumer which
defines the concurrency model. There's not a big deal from a
concurrency perspective of 2 sessions on 2 connections versus 2
sessions on the same connection

On 6/23/06, Balakumar Narayanasamy <[EMAIL PROTECTED]> wrote:

In my application, there are multiple threads push messages to input queue.
These thread takes a file from a directory and add the file to input queue.
So i am using multi threading concept to read the file and pushing its name
to input queue.
Problem which i am facing is if number of file in directory is high, then my
JMS throws UNCategorized Exception named UNManagedConnectionException. If
increase my polling time relative to number of input files, i am not getting
that exception. But increasing polling time reduced my application
performance.
Currently i believe there is only one connection made to MQ at a time.
Kindly let me if there is any possibilty of openning a multiple connection
to MQ at a point of time. i.e., whether MQ can itself handle synchronization
when mutiple threads are acting on it.
Thanks in advance...
--
View this message in context: 
http://www.nabble.com/Whether-ActiveMQ-supports-mutiple-connection-at-a-same-time-t1836329.html#a5012002
Sent from the ActiveMQ - User forum at Nabble.com.




--

James
-------
http://radio.weblogs.com/0112098/

Reply via email to