I found a possible dead lock on Failover / valves.
This is the scenario:
One Connection
Two Threads
.. Thread1 is called Consumer
.. Thread2 is called Producer
(Each thread will have its own session, of course)
The Consumer thread will do:
|
| while (true)
| {
| Message message = consumer.receive();
System.out.println("Message = " + message);
}
While the Producer will do
| while(true)
| {
| producer.send(session.createTextMessage("Message from producer " + id +
" counter=" + (counter)));
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008072#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...