Apache Camel ActiveMq Installation

ActiveMQ

Apache ActiveMQ is the most popular open source, multi-protocol, Java-based message broker. It supports industry standard protocols so users get the benefits of client choices across a broad range of languages and platforms. Connect from clients written in JavaScript, C, C++, Python, .Net, and more. Integrate your multi-platform applications using the ubiquitous AMQP protocol. Exchange messages between your web applications using STOMP over websockets. Manage your IoT devices using MQTT. Support your existing JMS infrastructure and beyond. ActiveMQ offers the power and flexibility to support any messaging use-case.

Installation Steps

  1. Browse ActiveMq Official page.
  2. Choose the ActiveMQ distribution you want to install.
  3. Choose the zip file for the respective OS distribution.
  4. Unzip the downloaded zip file and open the activeMQ folder.        
  5. Move into bin directory and choose the preferred architecture(win32 or win64).
  6. Open the activeMq.bat file.
  7. Browse to http://localhost:8161/ to check whether activeMq is up and running.
  8. You will be prompted to enter the credentials. 
    username : admin
    password : admin
  9. Login to index page and choose Manage activeMQ broker
  10. Browse to ActiveMQ Home page and enjoy.

For further clarification please watch the video https://youtu.be/QHIzu9rluIw

.

 

Apache Camel CSV

Apache Camel

Camel is an Open Source integration framework that empowers you to quickly and easily integrate various systems consuming or producing data.Camel supports most of the Enterprise Integration Patterns from the excellent book by Gregor Hohpe and Bobby Woolf, and newer integration patterns from microservice architectures to help you solve your integration problem by applying best practices out of the box.

Apache Camel is standalone, and can be embedded as a library within Spring Boot, Quarkus, Application Servers, and in the clouds. Camel subprojects focus on making your work easy.Packed with several hundred components that are used to access databases, message queues, APIs or basically anything under the sun. Helping you integrate with everything.Camel supports around 50 data formats, allowing to translate messages in multiple formats, and with support from industry standard formats from finance, telco, health-care, and more.

CSV

The CSV Data Format uses Apache Common CSV to handle CSV payloads (Comma Separated Values) such as those exported/imported by Excel.Commons CSV reads and writes files in variations of the Comma Separated Value (CSV) format.

Read & Create CSV

https://youtu.be/fJ3iLNfKvR4

Dependencies

To use CSV in your Camel routes you need to add a dependency on camel-csv, which implements this data format.

<dependency>
  <groupId>org.apache.camel</groupId>
  <artifactId>camel-csv</artifactId>
  <version>x.x.x</version>
</dependency>

References

https://camel.apache.org/components/latest/dataformats/csv-dataformat.html