Re: Active MQ - Performance with CLIENT Ack

2017-07-20 Thread Tim Bain
Luckily, you don't need access to the code TIBCO BW generates in order to test this. You can set a breakpoint on the http://grepcode.com/file/repo1.maven.org/maven2/org.apache.activemq/activemq-all/5.10.0/org/apache/activemq/ActiveMQMessageConsumer.java#ActiveMQMessageConsumer.acknowledge%28%29

Re: Active MQ - Performance with CLIENT Ack

2017-07-18 Thread akpuvvada
TestActiveMQ.zip Attached the TIBCO BW Project I am using. It is not a Java code, TIBCO BW is a GUI (Zero Coding) Integration tool that stored the configuration in XML and converts the XMLs to Java code at Run-time and

Re: Active MQ - Performance with CLIENT Ack

2017-07-15 Thread Tim Bain
If the dequeue count is staying at 0, then this isn't a performance problem, and you can ignore that portion of my earlier email in this thread. It sounds like something's not right, either with your code or with ours. Can you please post the consumer code you're using, so we can see if there's

Re: Active MQ - Performance with CLIENT Ack

2017-07-15 Thread akpuvvada
When I tried multithreaded (processing parallel) the subscriber is not logging any receipt. That made me affectively conclude it is not processing any messages. However, when I tried single thread (serial processing) I can see the subscriber is updating the log; so I know it is receiving the

Re: Active MQ - Performance with CLIENT Ack

2017-07-14 Thread Tim Bain
Is your workflow process-ack-process-ack-process-ack (one message at a time immediately followed by acking that one message, in a single thread)? If so, I'd expect your processing to be slower than if you only acknowledge every Nth message, though I'm not sure how significant of a performance

Re: Active MQ - Performance with CLIENT Ack

2017-07-14 Thread akpuvvada
We are testing it from Tibco Business Works. We configured the JMS Connection using JNDI. With auto acknowledged we did not see any issues. Everything worked fine. We are testing queues. Topics are also in scope for the testing, have not started yet. I did not configure prefetch, using the

Re: Active MQ - Performance with CLIENT Ack

2017-07-14 Thread Tim Bain
1MB payloads are pretty big. I'm not sure that is affecting the behavior you're seeing, but it stands out as unusual. Since you say the messages are not being acked, can you show us the code that attempts to send those acks? And are we talking about queues or topics? Are the performance