Tutorials

  1. Home
  2. Dokumente
  3. Tutorials
  4. 123. How to develop outbound interface to publish data into the RabitMQ queue?
  5. 123.2 How to use RabbitMQ Outbound Adapter with XML Payload?

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.

Note

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.

 

UseCase: Agent RabitMQ Adapter for xml payload.

Objective: Test rabbitMQ outbound adapter for xml Format

Pre-requiste:

  1. Create Integration.
  2. 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
Fandest du diesen Artikel hilfreich? Ja Nein

Wie können wir helfen?