Re: Error getting Queue size

2016-03-22 Thread Rohit Sonawat
you have to explicitly handle your code, there might be many changes as you are doing big jump from 5.6 to 5.12.2 and there is no issue in AMQ -- View this message in context: http://activemq.2283324.n4.nabble.com/Error-getting-Queue-size-tp4709767p4709896.html Sent from the ActiveMQ - User ma

Re: Error getting Queue size

2016-03-22 Thread Tim Bain
Is there a reason why you're not doing what the error message implies and changing your code to cast to (and therefore use) org.apache.activemq.broker.region.virtual.MappedQueueFilter instead of Queue? That seems like the obvious answer, unless there's more to your question than what you've asked.

Re: Error getting Queue size

2016-03-22 Thread Ravi1978
It is a "Virtual Topic". Sorry i didn't mention that clearly -- View this message in context: http://activemq.2283324.n4.nabble.com/Error-getting-Queue-size-tp4709767p4709875.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Error getting Queue size

2016-03-21 Thread Tim Bain
Topics aren't queues, they're topics. Try casting to Topic instead (though you won't be able to browse it, because you can only browse queues). On Mar 21, 2016 10:01 AM, "Ravi1978" wrote: > Hi > > We are upgraded ActiveMQ 5.6 to 5.12.2. We are defining a queue > (destination > type as "Topic") a