Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Using the TIBCO Hawk Messaging Microagent : Overview

Overview
The Messaging microagent provides methods to send and receive messages using either TIBCO Rendezvous or TIBCO EMS. For a detailed description of these methods refer TIBCO Hawk Method Reference Guide.
Using XML configuration files, you can specify the subject and message structure to be sent or received for each method. If transport parameters are not specified in the configuration files, the transport specified for TIBCO Hawk Agent is used. If using RVCM, the transport parameters have to be specified in the method element for each method. If using EMS as the default transport, only messages send or received with JMS topic are supported.
A set of sample configuration files are copied to the installation area in the samples/msghma directory. These files contain sample methods, as well as several default method definitions that are helpful for performing routine tasks. The configuration file, msghma.xml, used by the default Messaging microagent is located in the TIBCO_CONFIG_FOLDER/tibco/cfgmgmt/hawk/bin directory. You can configure additional Messaging microagents by using the TIBCO Hawk plug-in microagent mechanism. To configure additional Messaging microagents:
1.
Copy the .hma file for the microagent to the plug-in directory. The plugin directory is specified by the -hma_plugin_dir option in the hawkagent.cfg file. If using the Configuration Utility, the plug-in directory is specified by the Plugin field in the Agent tab.
2.
3.
Do not edit or delete the msghma.xml file used by the default Messaging microagent.
Configuration files of the TIBCO Hawk Rendezvous Messaging Adapter can be used as-is. However, any non-applicable attributes are ignored and if more than one microagent is defined, only the first microagent configuration is loaded.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved