Expand | ||
---|---|---|
| ||
|
11.3.1 Online Configuration of Repeater Through Studio
...
To add a new StandAloneRepeater node, the steps listed below need to be followed:
- From In the Server Explorer pane, select right-click the FMQ-JMX node. Right-click the mouse , and click on the Copy option from the drop-down menu.
- Select Right-click the Servers node and right- click the mouse and click on 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 addLink(LinkConfig) from the drop-down menu. The Invoke addLink(LinkConfig) dialog box is displayed.
- Click the editor button of parameter LinkConfig. The addLink(LinkConfig) – LinkConfig dialog box is displayed.
Enter all required details. These include:
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
- Click OK and Invoke the operation.
- Close the addLink operation dialogue box.
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 as shown in the figure below
...
- .
- Right-click
...
- the RepeaterLink MBean and select operation addLinkTopic(LinkTopicConfig). The Invoke addLinkTopic(LinkTopicConfig) dialog box is displayed.
- Click editor button of parameter LinkTopicConfig. The addLinkTopic(LinkTopicConfig) - LinkTopicConfig dialog box is displayed.
- Fill
...
- the required parameters
...
- , click OK and
...
- then click Invoke.
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 theRepeaterLink MBean.
- Right-click
...
- the RepeaterLink MBean and select operation addReplyTopic(ReplyTopicConfig). The InvokeaddReplyTopic(ReplyTopicConfig) dialog box is displayed.
- Click the editor button of the parameter ReplyTopicConfig. The addReplyTopic(ReplyTopicConfig)- ReplyTopicConfig dialog box is displayed.
- Specify the properties and click the OK button and Invoke the operation.
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 and select operation removeLink(LinkName). The InvokeremoveLink(LinkName) dialog box is displayed.
- 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 and select findDurSubscriptionInfo().