Table of Contents
Rabbit MQ differs from Active MQ and other message brokers in a way that we need to post a message to an Exchange provided by it. This Exchange will then forward the message to a queue or topic based on the routing key property.
This adapter supports 3 types of data formats i.e. CSV, XML and JSON.
Note
We can check JSON Data on RabbitMQ Server:
Link:http://18.197.54.48:15672/#/queues. Where exchange will be automatically created once you callout code.
Link:http://18.197.54.48:15672/#/queues. Where exchange will be automatically created once you callout code.
UseCase: Agent RabitMQ Adapter for Json payload. #
Objective: Test rabbitMQ Inbound adapter for Json Format #
Pre-requiste: #
- Create Integration.
- Create Metadata Provider, IStructure Repository and Create Flat Message Type.
-
- Metadata Provider:Agent_ActiveMQ_RabbitMQ_JMS_Metadata
- IStructure Repository: RabitMQJSON
- Message Type: AccountMT
Steps: #
Step1:To Create Agent RabbitMQ JSONInbound Adapter:
- Go to Integration (Example: Agent_RabbitMQ_Integration)
- Click on link AGENT Control Board.
- Go to Adapter Tab and Click on New Button.