Description

A JMS Service Function is used to send messages via Java Messaging Service (JMS). JMS Service Functions cannot be used to get data on demand as they return no data. This also means they cannot be used for initial data.

To receive data via JMS then you should use a Datapool that has its Master - Method properties set up as a subscriber to a JMS topic.

Setting up a JMS Service

  1. From the Application Manager menu do one of the following:

  2. Click on the New JMS service button 0-jmsbutton.jpg in the toolbar.

  3. Click on the Edit | New JMS service menu item.

  4. Right-click on the Services node in the Application Explorer and select the New JMS service in the context menu.

  1. In the Service name text area, enter the name for your service. Your service will be referenced by this name in your applications.

  2. In the JNDI name text area, enter the name of the topic or queue to send the message to.

  3. Enter the text of the message which may contain one or more references to the data from the client via ${client.PROD} style syntax. The message body is also resolved for general session and property references.

 

images/jmsservice/image01.jpg

 

See also

JMS Fed Datapool