...
This component can be used to send Text, Bytes or Map messages. The only restriction on Map Messages is that this component does not support Objects in Map Messages.
Points to Note
Set optimal message age (Time-to-live property) so as to reduce memory overhead, thus improving performance.
- Less message size gives better performance and vice versa. For example, ByteMessage takes less memory than TextMessage, hence choose message type carefully to avoid unnecessary memory overhead.
- Delivery mode defines whether the message can be persistent or non-persistent. This factor has an impact on the performance. Choose non-persistent messages where appropriate.
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
Connection configuration details can be specified in this panel.
Figure 1: Connection Configuration panel
Provider URL Settings
JMS Provider
Choose the MQ server from the drop-down list provided. The JMS providers supported are:
- Fiorano MQ, BEA Weblogic and JBoss.
- BEA WebLogic
- Oracle AQ
- JBoss
- Open MQ
- Rabbit MQ
Note | ||||||
---|---|---|---|---|---|---|
For working with these JMS providers the jars that should be explicitly added as resources to the component are given below:
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
...
Connection Configuration
Connection configuration details can be specified in this panel.
Figure 1: Connection Configuration panel
Provider URL Settings
JMS Provider
Choose the MQ server from the drop-down list provided. The JMS provider options present in the drop-down are:
- FIORANO
- WEBLOGIC
- ORACLE_AQ
- JBOSS
Connection Configuration
To set the Connection Configuration in the dialog box, click the button on the right side of the property.
...
The URL of the server to which the component microservice connects.
Tip | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
In case of Rabbit MQ JMS Client, provide the location of the JNDI ".bindings" file.
Refer the Creating the .bindings file for Rabbit MQ JMS Provider section to know how to create a .bindings file. |
Backup URLs
The backup URLs to which the component tries to connect if the server specified by the property "server URL" is down. Multiple backup URLs can be specified by separating them with ";" in case of all servers except the openMQ where comma ( , ) has to be used.
...
Attribute | Description |
---|---|
Key Manager Factory Type | Algorithm for the Key Manager Factory. |
Key Store Type | Type of the Key Store whose location is specified by Key Store Location should be specified in the fileld. |
Key Store Location | Location of the key store file can be provided using the file dialog that opens up on clicking the ellipsis button. The KeyStore is used by the component for client authentication. |
Key Store Password | Password of the specified key store can be specified in the field. |
Key Store Client Key | Determines Key Store Client Key |
...
To configure the message type in the dialog box, click the button on the right side of the property.
Figure 5: Message Definition Confguration Configuration dialog box with Message Type - 'Test Message'
...
This option has to be chosen if the component needs an XML interface. If this is not selected, schema will not be set on input port of the component and the message received on the input port will be sent to the destination as it is.
Note |
---|
Byte Message as Text property is not applicable in JMSIn5.0 microservice. |
Message Type
The type of the message that needs to be sent can be chosen as one of the following:
...
The properties and application context can be set as shown in the figure.
Figure 6: Providing Application Context and Property
Remove Properties with null value
If this option is checked, header properties with null value will be excluded in the Output message retrieved from the JMS server.
Message Content
Depending on the Message Type selected, the appropriate parsing option is shown. Message Type and the corresponding parsing option is explained below.
...
This option has to be chosen to create a destination with the provided name in case the provided destination does not exist.
Note | ||
---|---|---|
|
Destination specified for the property Destination Name should already exist if BEA Weblogic/Oracle AQ is being used. Dynamic creation of destinations is not supported for these providers.
For BEA Weblogic, value for Destination Name should be the JNDI name of the destination. Ex
Example: weblogic.examples.jms.exampleTopic or if Destination Name is provided in the format JMS_Module_Name!Destination_Name, then Autocreate destination property is mandatory for lookup and it will not create a new destination in this case.
...