Skip to content

ivanovaolya/spring-integration-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-integration-project

Educational Spring-project.
Contains different examples from spring-integration guide.

Build

  • Mac OS ./gradlew build
  • Windows gradlew build

Run

  • Mac OS ./gradlew bootRun
  • Windows gradlew bootRun

Active MQ

Queue

  1. Go to ActiveMQ admin console.
  2. Click at Manage ActiveMQ broker.
  3. Click Send tab:
    3.1. Choose Destination = ip.queue
    3.2. Message body = ${ipAddress} (like '208.80.152.201')
    3.3. Click 'Send' button
  4. Click Queues tab and find message with your geolocation by ip address in location.queue

Topic

  1. Go to ActiveMQ admin console.
  2. Click at Manage ActiveMQ broker.
  3. Click Topics tab and choose message.topic.
  4. Enter some message and click 'Send' button -> your message will be handled by 2 consumers.