JMS Message

The JMS trigger receives messages from Java Message System (JMS)-compliant message brokers, such as IBM WebSphere MQ.

The JMS Message trigger has two output ports. The success port () can send a message if the trigger receives it successfully. The failure port (x) can send a message if the trigger fails to receive one.

Setting up a JMS Message Broker with FME Flow

Before configuring a JMS trigger, you must set up a JMS broker to work with FME Flow. The steps depend on the broker you use, and are explained in the following section (applicable to both the JMS trigger and JMS external action):

Parameters

Tip  To test that your parameters work as expected, click Validate.
  • Provider Type or Context: The message broker to connect to, or the initial context factory if the broker is not listed.
  • Provider URL: The URL of the directory containing connection details for the JMS provider.
  • Additional Provider Properties: Any additional provider-specific properties, in the form key=value. For example, randomize=false. Specify multiple pairs on separate lines.
  • In most cases, this field is not required. The JMS brokers tested by Safe, including Apache ActiveMQ, IBM Websphere MQ, and Oracle WebLogic JMS, do not require any additional properties to establish a connection.

  • Connection Factory: The name of the connection factory object.
  • Username: An authenticating username.
  • Password: An authenticating password.
  • Destination(s): The name of the destination object(s). These correspond to queues and/or topics. Multiple destinations can be specified, separated with a comma.

Sample Configurations

Output Attributes

See Also

Attribute Description
time Event time
source Event type
error.type

(Failure port only) Error type:

  • InvalidMessage: An error occurred while configuring this component, such as missing or malformed values.
  • DeadLetter: An error occured while connecting to an external resource. Examples may include connection issues, invalid credentials, or generic external resource exceptions.
error.message (Failure port only) Error message
message (Success port only) Message content
jms.messageType (Success port only) Message type

See Also