Integration Blog Posts
Whether you’re a beginner or an experienced developer, this page is your go to resource for how to guides & tutorials, FAQs, and feature highlights
cancel
Showing results for 
Search instead for 
Did you mean: 
ajmaradiaga
Developer Advocate
Developer Advocate
1,017

In this short blog post, we will explore how to leverage JMSToolbox to connect to SAP Integration Suite, advanced event mesh (AEM), and peek at events that are in a queue.

JMSToolbox

First of all, what is JMSToolbox? JMSToolbox is a JMS Client that allows us to easily connect to different Queue Managers/Queue available, e.g. SAP Integration Suite, advanced event mesh.

We can download JMSToolbox straight from the project's GitHub repository: https://github.com/jmstoolbox/jmstoolbox. We will need to download the binaries from the repository. Installation instructions may vary depending on the platform on which you will be running it.

AEM connection details

Before we can connect to AEM via JMSToolbox, we will need some details from our event broker service.

  • Broker connection details for the Solace Messaging protocol. Go to the Event Broker service you want to connect to > Connect tab > View by protocol and expand the Solace Messaging accordion. Select any language from the list, and the credentials should appear on the right side. From here, we need the host URI, username, and password.

    aem-connect.png
  • Event broker service management details. We need the service management URL, VPN, username, and password. In the same event broker service go to the Manage tab > expand the Broker Manager - Web application accordion. The required details should appear on the screen. See the screenshot below.

    aem-broker-service-details.png

     

Connecting to AEM in JMSToolbox

Now that we have the AEM connection details, we can proceed to configure JMSToolbox.

In JMSToolbox we create a new session and configure a connection to AEM. Here you will input the Session Name, Queue Manager, Host/Port (from the Solace Messaging connection details), and Security User id and password. The connection details will look similar to the ones in the screenshot below.

add-session.png

Before creating the session we will define some properties. Enter the event broker service management details in the respective fields - VPN, mgmt_url, mgmgt_username, mgmt_password, and then click the Create button. The session properties will look similar to the ones in the screenshot below.

session-properties.png

Once configured, it will connect to AEM and automatically show all the queues available in the event broker service. Click on any queue to peek at the events available.

Messages in QueueMessages in Queue

I hope this quick blog post help you troubleshoot/explore events in your AEM queues. You can learn more about JMSToolbox and AEM brokers (Solace) here.