JMS outbound gateway

1. Overview

This service is a JMS outbound gateway. This gateway sends a message to a queue or topic and waits for a reply on another queue or topic.

In the table below, you will find an explanation of these properties.

All attributes with a * are mandatory.

All attributes with a '** ' require at least one of these properties having been set.

The JMS outbound gateway properties
Attribute Description

Name*

By default, we fill this out with the technical tag, followed by a serial number. Changing the name is optional.

Enabled

Set this value to true, if you want this service to be enabled.

JMS Topology

Specify which type of JMS topology you want to use. You can choose between QUEUE and TOPIC. The default is QUEUE.

Request Queue Name**

Name of the queue to send to. Only one of Request Queue Name and Request Queue Header can be set.

Request Topic Name**

Name of the topic to send to. Only one of Request Topic Name and Request Topic Header can be set.

Request Queue Header**

Name of the header that contains a Queue name. Only one of Request Queue Name and Request Queue Header can be set.

Request Topic Header**

Name of the header that contains a Topic name. Only one of Request Topic Name and Request Topic Header can be set.

MessagePart In

Name of the MessagePart in a ConnectMessage where the content of the message is stored.

MessagePart Out

Name of the MessagePart in a ConnectMessage that is used for the response.

Connection Factory

Name of the connection factory to use; it determines which JMS environment is used. The default jmsConnectionFactory uses the factory named in property connect.connectionfactory.name in connectplaza-agent.properties, by default activeMQFactory, the built-in ActiveMQ broker of the agent. To use another broker, see Adding a new broker for JMS.

Reply Queue Name

Name of the queue to receive from. Only one of Reply Queue Name and Reply Queue Header can be set. If none is set, a temporary reply queue will be used.

Reply Topic Name

Name of the topic to receive from. Only one of Reply Topic Name and Reply Topic Header can be set. If none is set, a temporary reply queue will be used.

Reply Queue Header

Name of the header that contains the Queue name to receive from. Only one of Reply Queue Name and Reply Queue Header can be set.

Reply Topic Header

Name of the header that contains the Topic name to receive from. Only one of Reply Topic Name and Reply Topic Header can be set.

Reply Receive Time-out

Time to wait in milliseconds for a reply on the reply destination. The default is 30000.

Concurrent Consumers

Specify the number of concurrent Consumers to create. The default value is 1. Raising the number of concurrent Consumers is recommended in order to scale the consumption of messages coming in from a queue. However, note that any ordering guarantees are lost once multiple Consumers are registered.

Requires Reply

Defines the service as request-response (true) or fire-and-forget (false). The default is true.

Persistent Delivery

Set to true to send the request as a persistent message, false to send it as a non-persistent message. The default is true. See Persistent Delivery on the JMS sender page, including what to check after updating to 5.3.1.

Description

Description of the specific service. This is for documentation purposes.

This component is by default synchronous. A timeout on the JMS-REPLY will lead to a stop of the flow without any error messages. The thread will be released and a next message will be able to use it. If a reply is received after the thread is released, the reply is discarded.

By setting Requires Reply to false, you will make this component asynchronous. A fire and forget will be performed and the gateway is immediately released and will not wait for a reply.