SK SKYVVA Documentation

126.1 How to use ActiveMQ Outbound Adapter with CSV Payload?

ActiveMQ adapter is used to send messages. Messages are just what they sound like, payloads of data that can be shipped between various systems. These payloads can have headers and properties associated with them This adapter supports 3 types of data formats i.e. CSV, XML and JSON.

UseCase: Agent ActiveMQ Adapter for CSV payload.

Objective: Test ActiveMQ Inbound adapter for CSV Format

Pre-requiste:

Step1:To Create Agent ActiveMQ CSV Inbound Adapter:

Configure Agent RabbitMQ CSV Inbound Adapter: you need to enter adapter properties base on system requirement and Select Connection Destination (Example:Agent LINUX). Step3: Create Integration and Inbound Interface:

Step4: Do mapping

Step5: Go to Developer console and callout: Callout: skyvvasolutions.CallOutControl c = new skyvvasolutions.CallOutControl(); c.returnJSONComplete=true; c.actionDoIntegrate=false; c.isCreateMessage=true; String[] ids= new String[]{'0011X00000nMzy4QAC','0011X00000nMy8jQAC'}; List result = skyvvasolutions.Iservices.invokeCalloutV3('ActiveMQ Adapter','ActiveMQ_outbound_csv',ids,'SYNC',c); Step5: Check result on Message Monitoring:

ActiveMQ Server:

Check CSV Data on ActiveMQ Server:

Go to Queue:

click on the Queue name:

Click on Message ID generated on server to see message detail:

Open this article in the interactive viewer →