Mule JMS: No. of Consumers VS Max Threads Active

Let’s say we have a service picking messages off a JMS queue. We may want to throttle the number of messages consumed or increase the service’s message throughput. We could do this by specifying the number of threads retrieving messages from the queue. Alas, you are...

Transaction Aware Object Store

Delivering training is a great opportunity to learn how software can be improved. Trainees come up with questions on how they want to use the software in ways you’d never dream about. Let’s take my case. While delivering Mule training, I was asked about the Idempotent...

Fun with XA transactions…

When someone mentions XA transactions during a conversation with a developer, you will most likely see the developer give an expression of disapproval, and then try to do everything to eliminate the XA transactions from the equation! While XA transactions solve a very...

ActiveMQ-XA Prefetch Policy

While working with XA transactions in  Mule 3, we came across an issue that crops up when the amount of re-deliveries for a message exceeds that specified on the ActiveMQ-XA-Connector. Some investigation into the problem led to the simple solution of configuring the...