Home » Tag Archives: JMS

Tag Archives: JMS

Sending JMS Messages From WildFly 8 To WebLogic 12 with Camel

apache-camel-logo

System integration is a nice challenge. Especially, when you’re looking for communication standards and reliable solutions. In today’s microservices world, everybody talks about REST services and http-based protocols. As a matter of fact, this will never be enough for most enterprise projects which typically tend to have a much more complex set of requirements. A reasonable solution is a Java ...

Read More »

Types of JMSContext in JMS 2.0

java-interview-questions-answers

If you follow Java EE, the simplified API components in JMS 2.0 (Java EE 7) will not be unknown to you. One of the important interfaces which forms a part of the simplified API is the javax.jms.JMSContext interface. JMSContext can be categorized in to two types depending on how it’s instance is obtained and managed (life cycle) – Container managed ...

Read More »

More advanced stuff with JMS and AWS SQS

java-interview-questions-answers

As you might know SQS in AWS SQS stands for ‘Simple Queue Service’. While playing around with it I recently found one of the reasons why it may be called ‘simple’. In two previous posts (here and here) I showed to use SQS as a JMS queue provider in combination with the Spring Framework. With this basic setup I decided ...

Read More »

Using AWS SQS as JMS provider with Spring

spring-interview-questions-answers

Recently AWS published a new client library that implements the JMS 1.1 specification and uses their Simple Queue Service (SQS) as the JMS provider (see Jeff Barr’s post here). In my post I will show you how to set up your Maven project to use the Spring Framework to use this library. We will perform the following steps:     ...

Read More »

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 »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.