Messages are repetedly sends by the queue..

2011-07-12 Thread vijayaratha
Hi, I have an issue with activemq 5.4.2 version.. where QueueBrowser.getEnumeration().next element() retrieves same messages.. any idea on this? this was working in 5.3.2. I version any help regarding this would be helpful.. Thanks -ratha.. This is my code segment; try{ c

Re: AMQ does not drop connection on stomp client ungraceful shutdown

2011-07-12 Thread reachrichrulez
I am doing this experiment in dev and there are no firewalls Here is what I have concluded. KeepAlive comes into play when the channel is inactive. In my scenario the broker kept sending the messages. After ~10 minutes the connection disappeared from netstat, so broker closed the connections too

topic message distribution

2011-07-12 Thread Mark Greene
With AMQ topics, when a message is published and there are multiple subscribers to the topic, is the message pushed in a serial order or in parallel to subscribers? If it's in parallel, does AMQ create a separate thread per topic subscriber? Thanks in advance, Mark

Re: Slow and fast messages

2011-07-12 Thread TomLiebl
Hi MaryAuaun - Regarding your comment that you "removed the transacted and commits", what exactly did you do? It may be helpful for others (like myself) to get some more detail there, in case we can make the same change and benefit from the performance improvement. -- View this message in context:

Re: Slow and fast messages

2011-07-12 Thread TomLiebl
Hi MaryAuaun - Regarding your comment that you "removed the transacted and commits", what exactly did you do? It may be helpful for others (like myself) to get some more detail there. -- View this message in context: http://activemq.2283324.n4.nabble.com/Slow-and-fast-messages-tp3660295p3662968.h

Consumer pool shutdown with acknowledgments

2011-07-12 Thread rmadden
Hello, I am having a problem successfully shutting down a consumer pool where there is one outstanding job in the pool. The shutdown sequence will wait for the job to finish, but the acknowledgement never makes it back to the queue and thus the queue count is out of whack, here is my code (I am su

Consumer pool shutdown with acknowledgments

2011-07-12 Thread rmadden
Hello, I am having a problem successfully shutting down a consumer pool where there is one outstanding job in the pool. The shutdown sequence will wait for the job to finish, but the acknowledgement never makes it back to the queue and thus the queue count is out of whack, here is my code (I am su

Re: In a network of broker, how does subscription propagated?

2011-07-12 Thread Gary Tully
it should not take very long but it is async. Typically, a forwarding bridge subscribes to the consumer advisory topic and creates local consumers on demand. You can configure destinations that are staticallyIncluded so the consumers for those will be created on startup. On 12 July 2011 04:03, jes

Problem with ActiveMQ to Weblogic route

2011-07-12 Thread pwanner
Hi everybody, I'm having trouble with a Camel route from ActiveMq to Weblogic. The use case is very simple, I have a Tomcat and an ActiveMq instance on the same server. The application in Tomcat is posting in the local ActiveMQ and the Camel route is forwarding the message to the queue in Webl

Re: Ignoring self published messages

2011-07-12 Thread mickhayes
You need /some/ way to discriminate. If you want elegant, rather than hack, then I think that means "Message Selection" (chapter 3.8 in the JMS 1.1 standard.) There are 3 namespaces here. 1) Property names which don't begin with "JMS": I would suggest an application-specific property name such