11.3.1 Online Configuration of Repeater Through Studio
For instructions regarding configuring and monitoring the repeater in the on-line mode refer to the section 25.7 Working with Repeater.
11.3.2 Online Configuration of Repeater Through JMX
This section describes all the configurations of Repeaters using the JMX connection.
11.3.2.1 Adding StandAloneRepeater node in the Server Explorer
To add a new StandAloneRepeater node, the steps listed below need to be followed:
- In the Server Explorer pane, right-click the FMQ-JMX node, and click the Copy option.
- Right-click the Servers node and click the Paste option.
- Rename the new FMQ-JMX_1 to StandAloneRepeater.
- In the properties window, change the RMIConnector's ConnectorPort to 2059.
11.3.2.2 Adding a Link
The administrator can create new replication links dynamically. This enables the applications to replicate messages on topics that are created after the repeater has started. Information such as the name of the link name, the source and target servers between the link, the protocol to be used for connection and login information, need to be provided when a new link is added to the repeater. To add a new link, follow the steps below:
- Run the FMQ Server and run the StandAloneRepeater.
- From the Server Explorer pane, login into StandAloneRepeater.
- Navigate to Fiorano > Repeater > RepeaterManager > FioranoRepeaterManager and select the FioranoRepeaterManager node.
- Right-click and select the View Operations option.
- The Invoke Operation dialog box is displayed. Click the addLink(LinkConfig) parameter in the left.
Enter all required details and click the addLink button under the Invoke Operation section.
Parameter
Default value
linkName
Link-1
sourceServerName
FMQ
sourceServerPassword
anonymous
sourceServerProtocol
TCP
sourceServerSecurityManager
Repeater
sourceServerURL
http://localhost:1856
sourceServerUserName
anonymous
targetServerName
FMQ
targetServerPassword
anonymous
targetServerProtocol
TCP
targetServerSecurityManager
Repeater
targetServerURL
http://localhost:1856
targetServerUserName
anonymous
11.3.2.3 Adding a Link Topic
It is possible for the administrator to add one or more link topics to an existing topic. To add a link topic to an existing topic information such as the source topic name, the target topic name and the message selector need to be provided. To add a link topic follow the steps below:
- Navigate to Fiorano > Repeater > Link, right-click the mouse and click the Refresh option; a link gets added.
- Click the link displayed and select RepeaterLink MBean.
- Right-click the RepeaterLink MBean and select the View Operations option..
- Click the addLinkTopic(LinkTopicConfig) option.
- Specify the parameters and click the addLinkTopic button under the Invoke Operation section.
11.3.2.4 Adding a Reply Topic
It is possible for the administrator to add one or more reply topics to existing topics. To add one or more reply topics to existing topics information such as the source topic name, the target topic name and message selector need to be provided. To add a Reply topic, follow the steps below:
- Navigate to Fiorano > Repeater > Link > (LinkName) and select the RepeaterLink MBean.
- Right-click the RepeaterLink MBean and select the View Operations option.
- Specify the parameters and click the addReplyTopic button under the Invoke Operation section.
11.3.2.5 Removing a Link
The administrator needs to follow the steps below to remove links from a repeater:
- Navigate to Fiorano > Repeater > RepeaterManager > FioranoRepeaterManager and select the FioranoRepeaterManager node.
- Right-click the FioranoRepeaterManager node, click the View Operations option and select operation removeLink(LinkName).
- Specify the parameters and click the removeLink button under the Invoke Operation section.
- Specify the link name and click Invoke button.
11.3.2.6 Removing a Link Topic
- The administrator needs to follow the steps below to remove a link topic from the repeater. Navigate to Fiorano > Repeater > Link > (LinkName) and select the RepeaterLink MBean.
- Right-click the RepeaterLink MBean and select removeLinkTopic(LinkTopicConfig).
- Other steps are similar to the addLinkTopic.
11.3.2.7 Removing a Reply Topic
The administrator needs to follow the steps below to remove the selected link topic from the repeater:
- Navigate to Fiorano > Repeater > Link > (LinkName) and select the RepeaterLink MBean.
- Right-click the RepeaterLink MBean and select removeReplyTopic(ReplyTopicConfig).
- For additional steps please refer to addReplyTopic.
11.3.2.8 Viewing Durable Subscribers for a Repeater
- Navigate to Fiorano > Repeater > RepeaterManager > FioranoRepeaterManager and select the FioranoRepeaterManager node.
- Right-click the FioranoRepeaterManager node, click View Operations and select findDurSubscriptionInfo().