GithubHelp home page GithubHelp logo

andersonmeurer / ibm-mq-springcamelmxexample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gpimblott/springcamelmxexample

0.0 0.0 0.0 20.54 MB

Example Spring Boot, Apache Camel application using IBM MX broker to send and receive messages

Java 100.00%

ibm-mq-springcamelmxexample's Introduction

IBM MQ / Spring Boot / Apache Camel

Example project using IBM MQ, Spring Boot and Apache camel. It demonstrates both reading and writing to an MX queue by emitting a message every second and reading the message back. The receiving camel route outputs the body of the received message to the log.

To run the application it needs an instance of IBM MQ running locally. I used the IBM provided docker image - https://hub.docker.com/r/ibmcom/mq/.

Running the Docker image

To download the docker image...

docker pull ibmcom/mq

Full details for using the docker image can be found here->https://github.com/ibm-messaging/mq-docker

TL;DR

Run a default queue with all the defaults

docker run \
  --env LICENSE=accept \
  --env MQ_QMGR_NAME=QM1 \
  --publish 1414:1414 \
  --publish 9443:9443 \
  --detach \
  ibmcom/mq

Once started MQ Dev edition will be running with the following configuration

  • http://localhost:9443 - MQ Management console

    Username : admin password: passw0rd

  • Port 1414 - MQ listener

All of the default settings are used for the demonstration application

Monitoring

Both Spring Actuator and Hawtio are configured on this example app using port 8095.

Actuator Endpoints

Some endpoints require authentication

Username : admin
Password : admin

http://localhost:8095/health
http://localhost:8095/info
http://localhost:8095/metrics

HAWTIO

Hawtio is available on port 8095: /hawtio as well. It provides realtime visualisation of the process, including the camel messages exchanges.

http://localhost:8095/hawtio

ibm-mq-springcamelmxexample's People

Contributors

gpimblott avatar gordonpimblott avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.