Tag Archives: jca

Consume from Kafka topics using Message Driven Beans

Thanks to the recently released Payara Kafka Connector, you can now consume messages from Kafka using Message Driven Beans! Here is a Docker based example for trying it out. Quick overview A @Singleton┬ábean fires a producer process which run in … Continue reading

Posted in Java EE | Tagged , , , , , , | 2 Comments

MDB != JMS and vice-versa

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 … Continue reading

Posted in Java, Java EE | Tagged , , , , , , | 1 Comment