An open API service indexing awesome lists of open source software.

https://github.com/alainpham/techlab-fuse-amqp

This project shows how to configure Fuse 6.3.0 on Karaf to use AMQP protocol 1.0 with AMQ 7 Broker or AMQ 6 Broker
https://github.com/alainpham/techlab-fuse-amqp

Last synced: 3 months ago
JSON representation

This project shows how to configure Fuse 6.3.0 on Karaf to use AMQP protocol 1.0 with AMQ 7 Broker or AMQ 6 Broker

Awesome Lists containing this project

README

        

Camel Spring Project techlab-fuse-amqp
===========================

This project shows how to configure Fuse 6.3.0 on Karaf to use AMQP protocol 1.0 with AMQ 7 Broker or AMQ 6 Broker
It also aims to show Openwire and AMQP interoperability.

## For AMQ 6 Broker embedded in Fuse Karaf Server
- [Download jboss-fuse-karaf-6.3.0.redhat-xxx.zip here](https://developers.redhat.com/products/fuse/download/)
- Unzip package

unzip jboss-fuse-karaf-6.3.0.redhat-xxx.zip

- Add user admin admin
- Edit etc/activemq.xml on the transport connector part to enable AMQP protocol




## For AMQ 7 Broker

- Have AMQ 7 installed and running
- [Download AMQ version 7.0.0+ here](https://developers.redhat.com/products/amq/download/)
- unzip package `unzip amq-broker-7.1.0-bin.zip`
- create a test instance

cd amq-broker-7.1/bin
./artemis create --user admin --password admin --allow-anonymous Y ./../instances/eventbrk
cd ./../instances/eventbrk/bin
./artemis run

- create a test topic

./artemis address create --no-anycast --multicast --name test

## Build and run project

To build this project use

mvn package

To run this project with Maven use

mvn camel:run

To deploy this project on Fuse Karaf Server

- Log into Fuse console and type the following commands
- Install camel-amqp feature

features:install camel-amqp
features:install camel-jetty

- Install project bundle

install -s file:_PROJECTPATH_/techlab-fuse-amqp/target/techlab-fuse-amqp-1.0-SNAPSHOT.jar

- View

log:tail

## View messages in a web browser application using AMQP over Websockets

( AMQP over Websockets protocol only work with AMQ 7 Broker)

- Open your browser and go to

http://localhost:7123/