Home » Tag Archives: JMS

Tag Archives: JMS

Speeding up ActiveMQ persistent messaging performance by 25x

apache-activemq-logo

Apache ActiveMQ, JBoss A-MQ, and Red Hat Apache ActiveMQ is a very popular open-source messaging broker brought to you by the same people who created (and work on) Apache Karaf, Apache Camel, Apache ServiceMix, and many others. It has a vibrant community, is very flexible, and can be deployed in highly performant and highly available scenarios. At Red Hat (where ...

Read More »

MDB != JMS and vice-versa

java-interview-questions-answers

Basics A Message Driven Bean (further referred to as MDB) is just another EJB like Stateless, Stateful or a Singleton. It’s specified using the @MessageDriven annotation. MDBs are used for asynchronous message processing They are similar to Stateless EJBs since both of them are pooled by the EJB container However they differ from Stateless EJBs since MDBs cannot be directly ...

Read More »

Apache TomEE + JMS. It has never been so easy.

java-interview-questions-answers

I remember old days of J2EE (1.3 and 1.4) that it was incredibly hard to start a project using JMS. You needed to install a JMS broker, create topics or queues and finally start your own battle with server configuration files and JNDI. Thanks of JavaEE 6 and beyond using JMS is really easy and simple. But with Apache TomEE ...

Read More »

Mule ESB, ActiveMQ and the DLQ

apache-activemq-logo

In this post I will show a simple Mule ESB flow to see the DLQ feature of Active MQ in action. I assume you have a running Apache ActiveMQ instance available (if not you can download a version here). In this example I make use of Mule ESB 3.4.2 and ActiveMQ 5.9.0. We can create a simple Mule project based ...

Read More »

ActiveMQ – Network of Brokers Explained – Part 5

apache-activemq-logo

In the previous part 4 we have seen how to load balance remote consumers on a queue using network connectors. In this part 5, we will see how the same configuration would work if we had concurrent remote durable subscribers on a topic.  Consider the following configuration….           Fig 1: Network of Brokers – Load balance ...

Read More »

ActiveMQ – Network of Brokers Explained – Part 4

apache-activemq-logo

In the previous part 3 , we have seen how ActiveMQ helps distinguish remote consumers from local consumers which helps in determining shorter routes from message producers to consumers. In this part 4, we will look into how to load balance concurrent consumers on remote brokers. Let’s consider a bit more advanced configuration to load balance concurrent message consumers on ...

Read More »

ActiveMQ – Network of Brokers Explained – Part 3

apache-activemq-logo

Now that we have understood the basics of ActiveMQ network connector in part 1 and part 2 of this blog series, in this part 3, we will examine how ActiveMQ load balances consumers which connect to a network of brokers. Introduction Concurrent consumers are used when messages in a queue can be processed out of order and usually to improve ...

Read More »

ActiveMQ – Network of Brokers Explained – Part 2

apache-activemq-logo

In this blog we will see how duplex network connectors work. In the previous part 1 we created a network connector from broker-1 and broker-2. We were able to see how messages for queue “foo.bar” on broker-1 were forwarded queue “foo.bar” on broker-2 when there was a consumer on broker-2 for queue “foo.bar” Let’s try doing the reverse by producing messages into broker-2’s queue ...

Read More »

ActiveMQ – Network of Brokers Explained

apache-activemq-logo

Objective This 7 part blog series is to share about how to create network of ActiveMQ brokers in order to achieve high availability and scalability. Why network of brokers? ActiveMQ message broker is a core component of messaging infrastructure in an enterprise. It needs to be highly available and dynamically scalable to facilitate communication between dynamic heterogeneous distributed applications which ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close