Re: ConcurrentModificationException while closing consumer

2009-02-11 Thread bonnyr
this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://blog.garytully.com Open Source SOA http://FUSESource.com -- View this message

Re: ConcurrentModificationException while closing consumer

2009-02-11 Thread Gary Tully
for not synchronising access to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User

Re: ConcurrentModificationException while closing consumer

2009-02-10 Thread Gary Tully
? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http

Re: ConcurrentModificationException while closing consumer

2009-02-10 Thread Gary Tully
However, wouldn't static analysis of the code be sufficient in this case? The code segment above is the only thing that is not protected by synchronization, whilst every other use of this collection is. Static analysis can identify the problem and the fix, but it doesn't protect the change

Re: ConcurrentModificationException while closing consumer

2009-02-10 Thread bonnyr
for not synchronising access to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User

Re: ConcurrentModificationException while closing consumer

2009-02-10 Thread bonnyr
to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: ConcurrentModificationException while closing consumer

2009-02-10 Thread Rob Davies
access to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive

Re: ConcurrentModificationException while closing consumer

2009-02-09 Thread Gary Tully
://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://blog.garytully.com Open Source SOA http://FUSESource.com -- View this message in context: http://www.nabble.com

Re: ConcurrentModificationException while closing consumer

2009-02-09 Thread bonnyr
to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive

Re: ConcurrentModificationException while closing consumer

2009-02-09 Thread Rob Davies
in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://blog.garytully.com Open Source SOA http://FUSESource.com -- View this message in context: http

Re: ConcurrentModificationException while closing consumer

2009-02-09 Thread Rob Davies
, but...) Is this an ommission or is there a reason for not synchronising access to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer

Re: ConcurrentModificationException while closing consumer

2009-02-08 Thread bonnyr
should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://blog.garytully.com

Re: ConcurrentModificationException while closing consumer

2009-02-06 Thread Gary Tully
, but...) Is this an ommission or is there a reason for not synchronising access to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html

ConcurrentModificationException while closing consumer

2009-02-05 Thread bonnyr
to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867250p21867250.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ConcurrentModificationException while closing consumer

2009-02-05 Thread bonnyr
to this collection? If it's not a bug then how should the consumer be disconnected? Cheers, Bonny -- View this message in context: http://www.nabble.com/ConcurrentModificationException-while-closing-consumer-tp21867251p21867251.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.