123.2 How to use RabbitMQ Outbound Adapter with XML Payload?
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. [su_box title="Note" box_color="#2a8af0" title_color="#000000"] We can check XML Data on RabbitMQ Server: Link:http://18.197.54.48:15672/#/queues. Where exchange will be automatically created once you callout code. [/su_box]
UseCase: Agent RabitMQ Adapter for xml payload.
Objective: Test rabbitMQ outbound adapter for xml Format
Pre-requiste:
- Create Integration.
- Create Metadata Provider, IStructure Repository and Create Flat Message Type.
Example:
- Metadata Provider:Agent_ActiveMQ_RabbitMQ_JMS_Metadata
- IStructure Repository: XML_Repo
- Message Type:MyAccount