Re: How to safely consume a topic from INSIDE the broker?

2010-12-03 Thread adam
I have traced this a bit more and the problem is bigger than I thought. What I am seeing is that while SubscriptionRecoveryPolicy is running, a lock is taken out that prevents ANY producer or consumer from being added or removed from BrokerRegion. Note that this prevents ANY connection to the br

Wireshark openwire decoder

2010-12-03 Thread Allen Reese
Anyone have any pointers on how to decode openwire pcap dumps? A wireshark plugin would be nice, but I can also just write perl with the pcap interface. I'm having an issue where I think the slave is not sending the password to the master when it connects, but it's hard to tell when looking at

Re: Topic messages lost even when they are persistent - help!

2010-12-03 Thread Stan Lewis
Yeah, just tried it here and the counter on the topic is misleading. I believe these are in-memory only counters actually, however if you take a look at the subscription after a restart you'll see an enqueued message and you can dequeue it using a real consumer such as the example consumer in the "

Re: Topic messages lost even when they are persistent - help!

2010-12-03 Thread ncsridhar
I tried what you said, but it didn't solve the issue. Here are the steps again: - I started activemq - created a brand new topic and a durable subscriber on it, I did both of those actions using the admin console gui on localhost:8161 - put some "persistent" messages on the topic using the admin

Re: Topic messages lost even when they are persistent - help!

2010-12-03 Thread Stan Lewis
You need to create the durable subscription *before* sending messages to the topic, otherwise the broker will drop them regardless if the messages are marked as persistent or not. The only way a topic will store messages is via a durable subscription. On Fri, Dec 3, 2010 at 10:36 AM, ncsridhar w

Re: Messages stuck in queue

2010-12-03 Thread Geoffrey Arnold
Quick follow-up: After another restart, JMX reported the queue size as 75 for over a day, but now the queue size is -17. How reliable is this metric? On Dec 1, 2010, at 2:04 PM, Geoffrey Arnold wrote: > Hello us...@! > > We have a queue defined in an embedded broker that when viewed through th

Re: ACTIVEMQ-CPP. Topic consumer after connection interrupt and restore

2010-12-03 Thread Timothy Bish
It sounds like you've run into a bug. We'd need to build a unit test case to try and reproduce it. There's an easier way to break the connection than using a breakpoints. You can get the underlying transport from the connection instance by casting it to an ActiveMQConnection and then calling get

Re: Topic messages lost even when they are persistent - help!

2010-12-03 Thread ncsridhar
I actually did not run the consumer atleast once on this topic at all. Here is what I did: - I ran a publisher program that put about 10K PERSISTENT msgs on the topic - I verified that all 10K msgs are on the topic using admin console - I used the activemq admin console that is available at http:

Re: ajax wiki page updated

2010-12-03 Thread Dejan Bosanac
Awesome work! Thanks Alex. Cheers -- Dejan Bosanac - FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter:  http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.

Re: [ANNOUNCE] Apache ActiveMQ 5.4.2 released

2010-12-03 Thread Dejan Bosanac
Hi, it will be done in a two-three weeks timeframe. Cheers -- Dejan Bosanac - FuseSource - The experts in open source integration and messaging. Email: dej...@fusesource.com Web: http://fusesource.com Twitter:  http://twitter.com/dejanb ActiveMQ in Action - http://www.manning.com/

ACTIVEMQ-CPP. Topic consumer after connection interrupt and restore

2010-12-03 Thread Oscar Pernas
Hi all, Sorry if I'am missunderstanding something but I have a activemq-cpp topic consumer. I am trying to test connection interrupt and restores, and how messages are sent to a durable topic. To do this, I've put a breakpoint in my code after connect to broker. Some time later, I've press to cont

stomp+nio+ssl

2010-12-03 Thread Aleksandar Ivanisevic
Is it possible to have stomp+nio+ssl? Or it doesn't make sense since the SSL overhead will eat the gains from nio?

Re: [ANNOUNCE] Apache ActiveMQ 5.4.2 released

2010-12-03 Thread Aleksandar Ivanisevic
Any ETA for a fuse release? Norman Maurer writes: > Its already there... > > http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/ > > Bye, > Norman > > 2010/12/2 develop : >> Any ETA for 5.4.2 to get deployed into maven repository? >> >> On 12/2/10 4:02 PM, Dejan Bosanac wrote: >>>

Re: How to safely consume a topic from INSIDE the broker?

2010-12-03 Thread adam
Gary Tully wrote: > > You could create your connection and consumer in the initialization > of the recovery policy rather than an the recover method, that may > help. > Unfortunately, every recovery action requires its own temporary topic, so a consumer has to be created every time. Is there

Re: Leaked threads on webapp undeploy with embedded ActiveMQ

2010-12-03 Thread Stevo Slavić
Hello, I'm experiencing same behavior (now with 5.4.2). Is there any solution for this? Regards, Stevo. 2010/11/26 Максим Валянский > Hello! > > I'm running web application with embedded ActiveMQ 5.4.1 and Spring > 3.0.5 with Tomcat 6.0.29. > > When I undeploy web application Tomcat says: > >