Contents
 Contents

Icon
  • From FioranoMQ 10.2.0 version onwards, ConnectionManager instance can be added only through eStudio and not using the configs.cfg file.
  • This configuration is done in the Offline mode.

Connection Managers can be added through eStudio as well as by using scripts. Sections below illustrate the two different ways of adding Connection Managers.

Through eStudio

  1. Launch the Fiorano eStudio. Open the ProfileManager, and open the profile where the socket acceptor is to be added.
  2. In the profile, select the domain to which the new socket acceptor is added. The default FioranoMQ profile has socket acceptors at the following nodes in the tree Fiorano > socketAcceptors. Fiorano recommends adding a new sub-domain (for instance, port-2) to this domain, along with a new socket acceptor.
  3. Right-click the desired domain, and select AddComponents. The AddComponentstoProfile dialog box appears. Navigate to Fiorano > FioranoFw > Services
  4. Select the component ConnectionManager1 from the new dialog box.

    Icon

    More than one instance can be added by specifying the desired InstanceCount in the Properties pane.

  5. Click the OK button to add the selected instance(s) to the profile. The dependencies of the newly added component(s) have to be resolved. All unresolved dependencies are marked with an error icon which is red in color. 

    Icon

    In addition to the Manager instance, an instance of the SocketReadHandler is added to the profile as well.

  6. To resolve dependencies, open the DependsOn property of the newly added Connection Manager and the associated SocketReadHandler. For each dependency marked with a red colored icon, select the desired instance from the drop-down list from the Properties field.

    Icon

    Any existing instance for a dependency could be used to resolve it.

  7. Right-click the profile root node, and select Validate to ensure that all dependencies are resolved.
  8. Modify the port number for the newly added socket acceptor, so that it is different from the port number in use by existing socket acceptor.
  9. Right-click the profile root node, and select Save to save the profile.

Configuring Single Socket Acceptor for Admin

Icon

This configuration can only be done in offline mode.

  1. Open eStudio, and open the FiranoMQ profile.
  2. Navigate to FioranoMQ > Fiorano > etc > FMQConfigLoader > UseSingleSocketForAdmin.

    Icon

    By default, the value will be in the enabled state. Turning this flag on starts a thread for admin connection that waits for data on the socket. Any loss of connection is detected immediately.

Through Scripts

As an alternate way of adding/deleting new connection managers without having to resolve dependencies, use Connection Manager scripts present under $FIORANO_HOME/fmq/Utilities.

ConnectionManager script takes the name, port, and protocol of the new Connection Manager and the profile path to which the Connection Manager should be added/deleted as arguments.

Usage
Icon
  • -conn_man_name - Name of the connection manager to be added/removed
  • -profile_path - Path of the profile to which a Connection Manager should be added or removed (Defaults to FioranoMQ profile)
  • -port - Port of the new Connection Manager
  • -protocol - Protocol of the new Connection Manager (Defaults to TCP)
  • -add - 'True' if the connection Manager should be added to the profile, 'false' if it is to be removed (Defaults to true)
  • -help - To Print this information
Adaptavist ThemeBuilder EngineAtlassian Confluence