Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

soluvas/tutorial-rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter RabbitMQ

Starter project with JSON-LD and RabbitMQ Support

Cara Test

  1. Buka web UI aplikasi ini di http://localhost:8080/ Awalnya aplikasi hanya memiliki satu data yaitu ITB. Tetap biarkan aplikasi terbuka, tidak perlu diclose.

  2. Enable plugin rabbitmq_management. Caranya: Jalankan RabbitMQ Command Prompt, lalu ketik:

     rabbitmq-plugins enable rabbitmq_management
    
  3. Pastikan Anda bisa akses http://localhost:15672/ (user: guest, password: guest)

  4. Klik tab Exchanges

  5. Klik exchange amq.topic

  6. Masuk bagian Publish message, masukkan:

    Routing key: starter.place

    Payload:

     {
         "@type": "Place",
         "name": "Warung Mamah",
         "description": "Enak top markotop"
     }
    

    Klik Publish message.

  7. Cek di web UI aplikasi bahwa place Warung Mamah telah ditambahkan.