Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Java Message Service (JMS) is a messaging standard that allows application components based on the Java Platform Enterprise Edition (Java EE) to create, send, receive, and read messages. It enables distributed communication that is loosely coupled, reliable, and asynchronous. 

As per FIXEdge Java, JMS endpoints allow you to establish a connection with JMS-message providers and receive/send data from/to them. JMS endpoints can work with queues and topics. Each endpoint has a unique name. A JMS endpoints only route messages endpoint is routing messages only in one way: when they are configured as producers or consumersit can be configured either producer or consumer

During FIXEdge Java server start-up, it initiates endpoints, which are defined in the jms-adaptor.properties, are initiatedThe list of active endpoints is defined by the property the jms.adaptor.ClientNamespropertyIf If jms.adaptor.ClientNames is is empty, none of the clients are is active.

To add a JMS endpoint to a to jms-adaptor.properties file it needs to, you should perform the following actions:

  1. Define the JMS connection configuration. JMS connection properties have a prefix the jms.adaptor.Connection.[ConnectionName] prefix, where [ConnectionName] is the a unique name of this connection , which and it is used to link it with JMS endpoint configuration. The JMS connection has a set of predefined properties (see specified in the table below) but can be extended with custom ones (see the samples below).
  2. Define the JMS endpoint configuration and add its name to the jms.adaptor.ClientNames list.

...

Configuration properties

The JMS adaptor is configured by means of the following properties:

...

NOTE: All changes in the properties file are applied only after FixEdge Java server restart.

...

Sample Configuration

...

Sample configuration for ActiveMQ vendor

Make sure that activemq-client.jar is present in the /lib directory.

...

NOTE:  jms.adaptor.Connection.LocalActiveMQConnection.ProviderURI = tcp://localhost:61616 - host:port of Apache ActiveMQ Message Broker.

...

Configuration for TIBCO EMS vendor 

Copy the appropriate TIBCO JMS client library (tibjms.jar) from the TIBCO EMS installation /lib directory.

...