How to use Apache Camel JMS and connect to ActiveMQ?

Apache Camel JMS Component

The Camel JMS component allows messages to be sent to (or consumed from) a JMS Queue or Topic. It uses Spring’s JMS support for declarative transactions, including Spring’s JmsTemplate for sending and a MessageListenerContainer for consuming.

Workshop

  1. Add Dependency
  2. Download and Install ActiveMQ
  3. Read and write Messages

Source Code

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Type Erasure in Java…

Machine Learning made Easy: — Automatic Speech Recognition using Kotlin and Huawei ML Kit

LeetCode — Sum of Root to Leaf Binary Numbers

Interview: Repository, Unit of Work, Lazy Load Pattern

Trias Weekly Report (Jul 13, 2020 — Jul 19, 2020)

Anatomy of a Serverless YAML File

3 Must-Read Classic Books about Ruby and Ruby on Rails in 2021

Scraper demo with Red Node

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jasvinder S Saggu

Jasvinder S Saggu

More from Medium

Spring boot with Mongo DB easy setup

Trackpad gestures on MacOS in Java

Evolve Database Using Liquibase

What is Spring Framework & IoC (Inversion Of Control) in Spring?