SK SKYVVA Documentation

127.1 Inbound JMS Adpater

Learning Objectives:- This unit describes:-

Introduction:

In this tutorial, we will learn How to develop an Inbound interface for an inbound JMS Adapter. This functionality is available from v2.47 onwards. In simple words, SKYVVA JMS Adapter, users can easily push data to a topic or queue and perform operations on a schedule or process urgent messages immediately. You can apply priority processing to specific records in queues and topics. Publish data means Inbound JMS Adapter. We need an Inbound JMS Adapter when we want data into salesforce. So now we are going to check the use cases for the Inbound JMS Adapter i.e, for Publisher. To configure, firstly we need to learn and follow some steps: How to configure New Agent Control Board? To configure a new agent control board follow the given steps: Step1: Create Integration. => Go custom Link => Clickon agent control board.

Step2: The custom link (Agent control board) Navigate to the Dashboard of the new agent control board.

Step3: Fill in all the fields of the agent credential and click on the Ping Agent Connection button.

Step4: Fill in all the fields of the Salesforce credential and click on the Ping Salesforce Connection button.

How to check caching New Agent Control Board: To check caching first you should create all the data. Integration:

Interface Group:

Interface:

Mapping:

Use Cases:

1. File type CSV:

Pre-requisite:

Steps:

Step1:To Create Agent JMS CSV Inbound Adapter:

Configure Agent JMS CSV Inbound Adapter: You need to enter adapter properties base on system requirement and Select Connection Destination (Example: CamelAmazonEC2JMSAgent). No need to add a username and password because it is the default admin on the agent side. Here I’m testing Agent JMS adapter with MQ Product Type = ActiveMQ also you can test Agent JMS adapter with other systems like you need to configure adapter property base on your system configuration. Example: host, port, etc.

Step2: Create Integration and Inbound Interface:

Step3: Mapping

[su_box title="Note" box_color="#2a8af0" title_color="#000000"] No need to execute any callout logic because you are sending data ActiveMQ server to the Salesforce side. You just need to start route example: Go to adapter tab => All adapter will display in the list view and you need to click on the start button and your route will be started automatically or you can change adapter status inactive to active and it also starts route automatically. If you will make any changes inside the adapter property then you need to stop the route and start again after your changes will reflect server.[/su_box]

Step4: Send Data ActiveMQ Server to Salesforce side: [su_box title="Note" box_color="#2a8af0" title_color="#000000"] When you start the route then ActiveMQ will automatically generate a queue with a Destination name like CamelAgentJMSCSVIB or if it will not create a queue then you can create by manually using ActiveMQ window and click on Send to link on the right-hand side.[/su_box]

Open Link: http://18.197.54.48:8161/admin/browse.jsp Username: admin Password: admin **Go to queue. Click on queue example: CamelAgentJMSCSVIB**.

Step4: Message Monitoring

2. File type XML:

Pre-requisite:

Steps:

Step1:To Create Agent JMS CSV Inbound Adapter:

Start Route:

Step2: Create Integration and Inbound Interface:

Step3: Mapping

Step4: Send Data ActiveMQ Server to Salesforce side: [su_box title="Note" box_color="#2a8af0" title_color="#000000"] When you start the route then ActiveMQ will automatically generate a queue with a Destination name like CamelAgentJMSXMLIB or if it will not create a queue then you can create by manually using ActiveMQ window and click on Send to link on the right-hand side.[/su_box]

Open Link: http://18.197.54.48:8161/admin/browse.jsp Username: admin Password: admin **Go to queue. Click on queue example: CamelAgentJMSXMLIB**.

Step5: Message Monitoring

3. File type JSON:

Pre-requisite:

Steps:

Step1:To Create Agent JMS JSON Inbound Adapter:

Start Route:

Step2: Create Integration and Inbound Interface:

Step3: Mapping

Step4: Send Data ActiveMQ Server to Salesforce side: [su_box title="Note" box_color="#2a8af0" title_color="#000000"] When you start the route then ActiveMQ will automatically generate a queue with a Destination name like CamelAgentJMSJSONIB or if it will not create a queue then you can create by manually using ActiveMQ window and click on Send to link on the right-hand side.[/su_box]

Open Link: http://18.197.54.48:8161/admin/browse.jsp Username: admin Password: admin **Go to queue. Click on queue example: CamelAgentJMSJSONIB**.

Step5: Message Monitoring

Open this article in the interactive viewer →