...
- Launch Fiorano Studio using any one of the following ways:
- Navigate through Start > Programs > Fiorano > FioranoMQ and click Fiorano Studio.
- Execute the following command based on the operating system:
- Windows: %FIORANO_HOME%\Studio\bin\studio.exe
- UNIX: $FIORANO_HOME/Studio/bin/studio.sh
- Select the Profile Manager tab in the Explorer pane.
You can also - Alternatively, launch the Profile Manager using Window > Open Perspective > Other > Profile Manager menu-item in the Fiorano Studio.
...
Gallery sort name include How to Launch Profile Manager1.png, How to Launch Profile Manager2.png
How to Open a Profile for Editing
- Right-click the Profiles node in the Profile Manager Explorer, and select the Open Profile option from the pop-up menu displayed.
In the Select Profile Directory dialog, select the Profile directory you want to edit and click the Open button.
and browse to open the profile required. - A profile appears and you can see with a node corresponding to the profile in the the Profile Explorer tree as shown in the figure below. You can expand tree. Expand this node in order to view the component instances that are part of the profile. Their properties can be viewed in the the Properties pane pane on the right.
You can also open a profile by selecting the option Tools > Configure Profile in the Fiorano Studio Menu.
How to Save Changes Made to a Profile
Right-click the profile root node (FioranoMQ) and select the Save option or click the Save icon on the Toolbar.
Note |
---|
On saving a profile, you may see error/warning messages for two reasons: if a component has an unresolved dependency, Or if the value is not set for a non-null configuration parameter. You can either continue to save the profile ignoring these error/warning messages or fix the error and try saving again. |
How to Edit Configuration for a Component Instance
...
- Right-click the Profiles node in the Profile ManagerExplorer, and select the Open Profile option from the pop-up menu displayed.
- In the Select Profile Directory dialog, select the Profile directory you want to edit and click the Open button.
- Navigate to the node corresponding to the ConnectionManager component instance in the Profile Manager Explorer.
- Edit the the Port property property of the the ConnectionManager, which is part of of ComponentInstance Configuration using the using the Properties pane on on the right.
- Right-click the Connection Manager node and select the Click the Save option to save the changes.
How to Edit Attributes for Component Instance
...
- Right-click the Profiles node in the Profile ManagerExplorer, and select the Open Profile option from the pop-up menu displayed.
- In the Select Profile Directory dialog, select the Profile directory you want to edit and click the Open button.
- Navigate to the node corresponding to the PublishEventManager component instance in the Profile Manager Explorer.
- Edit Click the PublishEventManager node and edit the LoggerName property for the PublishEventManager, which is part of ComponentInstance Attributes, using the Properties pane on the present in the properties pane on the right.
- Click the Save option to save the changes by right-clicking on the profile root node (FioranoMQ), and selecting the Save option.
How to Add/Remove a Component Instance from the Profile
...
- Open the FioranoMQ profile using the Profile Manager, as described in Point 2 above.
- Navigate to the domain node to which you wish to add the Dispatcher Component. Right-click the selected domain (say "etc") and select the Add Components option.
In the Add Components to Profile dialog that pops up, navigate to the Dispatcher componentnode, select it and Click the OK button.
Note - The red icon in front of the Dispatcher node indicates that the component has some unresolved dependencies. To know how to resolve the component dependencies, please read on.
- Dispatcher requires an instance of JobManager that no other component in the profile should be allowed to use (exclusive dependency). So, on adding dispatcher, a JobManager domain is added to the profile. Within this, a JobManager instance that is exclusively used by the Dispatcher instance is added.
You can see the node corresponding to the Dispatcher component added to the Profile Manager Explorer.
To remove the Dispatcher instance added to the profile, right-click the Dispatcher node in the Profile Manager Explorer and select the Delete option.
Info |
---|
On deleting the Dispatcher, the exclusive instance of JobManager which was added is also removed. |
...
- Expand the Dispatcher node corresponding to the Dispatcher instance added to the profile and navigate to the dependency node that is unresolved (indicated by the red icon). In this case, the TimerService is the dependency.
- Select the Instance property for the TimerService dependency in the Properties pane. From the drop-down menu, select the available instances of TimerService in the profile to be used by the Dispatcher instance.
Info |
---|
Once the dependency is resolved the red icon disappears, indicating that the Dispatcher has been configured properly. |
...
- Right-click the dependency node and select the Add New Instance option. The Select New Component Instance Domain dialog box appears.
- You may use this to specify the domain to which you want to add the new instance of the TimerService. In this case, we select domain etc and click the OK button.
- You can view the new instance of TimerService added to the Profile.
- You can now resolve the TimerService dependency for Dispatcher by selecting the Instance property for the TimerService dependency in the Properties pane. From the drop-down menu, select the available instances of TimerService in the profile to be used by the Dispatcher instance.
How to Change Implementation Type of a Component Instance
...
- In the Profile Explorer, navigate to the node corresponding to the component instance for which you wish to change the implementation type: for instance the NativeFileNamingManager instance of NamingManager in the FioranoMQ profile. In the Properties pane, you see a property named Implementation that is set to FILE.
- Click the value for the Implementation property. All available implementations of NamingManager are displayed in a drop-down list. Select the implementation you want to use in your profile: for instance RDBMS.
- On changing the Implementation, the component dependencies and also the ObjectName property for the component are updated accordingly.
- Resolve all dependencies and save the profile.
...
- Right-click a node corresponding to a component dependency and select the Locate in Tree option. For example, let us assume you perform this action on the node corresponding to TimerService dependency for Dispatcher instance.
- This action will select the component instance corresponding to the dependency in the Profile Manager Explorer. For instance, in this case, the selection would change to the TimerService instance that is specified as a dependency for the Dispatcher instance.
How to Find Usages for a Component Instance
- Right-click the node corresponding to the component instance for which to find usages and select the Find Usages option.
- On performing this action, a dialog box pops up displaying all component instances that use this particular instance in the profile. The instance usages of TimerService appear as shown in the figure below.
How to
...
Note |
---|
On saving a profile, you may see error/warning messages for two reasons: if a component has an unresolved dependency, Or if the value is not set for a non-null configuration parameter. You can either continue to save the profile ignoring these error/warning messages or fix the error and try saving again. |
How to Validate a Profile
Right-click the profile root node (FioranoMQ)
...
and select
...
the Validate
...
option.
...
Info |
---|
Validation errors/warnings, if any, can be seen in |
...
the Validate Profile Results |
...
tab of the |
...
Studio Output |
...
window. |
...
How to Save the Profile in a Different Location
- Right-click the profile root node (FioranoMQ), and select the Save As option.
- The Select Profile Directory dialog box appears, you need to In the Profile Location Dialog dialog box, specify the location in which to save the profilewhere the profile needs to be saved. Click the Save button.
- In case a profile already exists in the specified location, a confirmation Confirm Profile Replace dialog box appears. If the user selects the Yes option, the existing profile is replaced, and if No is selected, no further action is performed.
- After the profile is saved to the specified location, a dialog box (Load Profile) appears wherein the user is asked if he wishes to load the new profile created. In case the user selects Yes, the new profile is opened, and if No is selected no further action is performed.
How to Close a Profile
Right-click the profile root node (FioranoMQ), and select the Close option. This will remove the sub-tree corresponding to the profile, from the Profile Explorer.
How to Add/Remove New Attributes to a Component Instance
- In the Profile Explorer, navigate to the node corresponding to the component instance to which you want to add an attribute. Right-click the node and select the Add Attribute option.
- In the Add Attribute dialog box that appears, specify the Name and Value for the attribute to be added, and Click the OK button.
- You can see the new attribute added to the ComponentInstance Configuration parameters in the Properties window on the right.
- To remove an added attribute, right-Click click the component instance node and select the Remove Attributes option.
- In the Remove Attributes dialog box, select the attribute(s) to be removed and Click the OK button. The removed attribute(s) are removed from the ComponentInstance Configuration properties in the Properties window.
- After adding/removing attributes to any component instance, save the profile as described earlier.
...
- In the Profile Explorer, navigate to the node corresponding to the component instance to be renamed. Right-click the node and select the Rename option.
- In the Rename dialog box, specify the new name for the component instance and click the OK button.
You will see the node corresponding to the component instance, and also the ObjectName property for the instance, updated with the new name.
You can also rename a component instance by
and pressing the F2 keyTip Alternatively, press the F2 key selecting the corresponding node
and you can specify the new name for the instance. The node name becomes editable
.
- After renaming the component instance, save the profile as described earlier.
...
- In the Profile explorer, navigate to the node corresponding to the component for which you wish to edit the default configurations (for instance FMQConfigLoader component in FioranoMQ profile).
- Right-click the component node and select Edit Default Configuration option.
- In the Edit Default Configuration dialog box that appears, edit the properties and click the OK button.
- Save the profile as described earlier.
...
- Right-click the root profile node or the domain node within which you wish to add the new domain and select the Add Domain option.
- In the Add Domain dialog box, specify the name of the domain to be added.
- You can see a node corresponding to the new domain in the Profile Explorer.
- To delete the newly added domain, right-click the domain and select Delete.
How to Rename a Domain
- In the Profile Explorer, navigate to the node corresponding to the domain to be renamed. Right-click the node and select the Rename option.
- In the Rename dialog box that appears, specify the new name for the domain and CLICK the OK button.
You will see the node corresponding to the domain updated with the new name.
You can also rename a domain by
and pressing the F2 keyTip Alternatively, press the F2 key selecting the corresponding node
and you can specify the new name for the instance. The node name becomes editable
.
- After renaming the domain, save the profile as described earlier.
...
- In the Profile Explorer, select the profile root node. You can view the profile metadata in the Properties pane on the right.
- You can edit the Profile Metadata (including ProfileName, Description, and Author) in the Properties pane.
- After editing the profile metadata, save the profile as described earlier.
...
- In the Profile Explorer, select the profile root node. You can view the contents of the deployment file (Deploy.xml) in the Deployment Lists property in the Properties pane on the right.
- Click the Ellipsis button beside the beside the Deployment Lists property property value. In the editor window that appears you may perform the following operations:
Add Deployment List
Click the Add button in the Deployment Lists editor window.
In the Add dialog box that appears, select the deployment lists to be added to Deploy.xml and Click the OK button.
You can see the list added in the Deployment Lists editor window.
Remove Deployment ListSelect the Deployment list file to be removed from Deploy.xml and Click the Remove button.
Move Up Deployment ListYou can change the ordering of lists in Deploy.xml. To shift a list upwards, select a list in the Deployment Lists editor window and Click the Move Up button.
Move Down Deployment ListSelect a list in the Deployment Lists editor window and Click the Move Down button.
the values may be mentioned separated by commas.
How to Export/Import a Profile
Right-click the profile root node and select the Export Profile option.
In the Select Profile Directory dialog box that appears, select the directory in which to create the profile export file and Click the Save button.
To import a profile, right-Click click the Profiles node in the Profile Explorer and select the Import Profile option.
In the dialog box that appears, select the profile export file and Click the Open button.
Another dialog box appears asking the user to select the target Profiles directory in which to import the selected profile. Specify the directory and Click the Open button.
A confirmation dialog box appears asking if the user wishes to load the imported profile. On selecting the Yes option, the imported profile is loaded, and on selecting No, no further action is performed.
How to Delete a Profile
Right-click the Profile root node to be deleted and select the Delete option.
...
How to
...
The default view displayed is the Domain view, in which the tree is formed based on ObjectNames of components that are part of the profile.
...
How to Mark a Socket Acceptor as Default
...
- Select FioranoMQ > Fiorano > socketAcceptors > port2 > ConnectionManager .
In the Properties of ConnectionManager2 pane, select the Default property as yes or no from the drop-down menu.
Info If more than one socket acceptors are present, then the user should mark only one as a default. If none is marked as default, the factories will be created through randomly selected SocketAcceptor.
How to Set Auto Update Property of All Default Connection Factories
To set the AutoUpdate property for all default Connection Factories, perform the following steps:
- Open the Fiorano Studio, in the Server Explorer pane, right-click FMQ and click Login from the pop-up menu as shown in the following figure.
Figure: Fiorano Studio FMQ Login
- Navigate to FMQ > Connection Factories, right-Click click the connection factory which you want to change, in this case, we are using PrimaryQCF, and select Edit.
The Configure PrimaryQCF dialog box appears. In the Configure PrimaryQCF dialog box, change the Auto Update property as per your requirement and click the OK button.
Note By default, all the Connection Factories have these values set to 'yestrue'.
Figure: The Configure PrimaryQCF dialog box
...
- Open the Fiorano Studio, in the Server Explorer pane right-click FMQ and click Login from the pop-up menu as shown in the following figure.
Figure: Fiorano Studio FMQ Login
- Right-click the Connection Factories on the screen page and select Add Connection Factory.
- The New Connection Factories Properties dialog box appears. Change the Auto Update property, the default set to no.
- Click the OK button and the Auto Update property for a connection factory is set.
Figure: The New Connection Factories Properties dialog box
...
To write C applications which are compatible with FioranoMQ, please refer to the samples under <fmq_installation_dir>/fmq/clients/c/native/samples. FioranoMQ provides a whole lot of samples for C Applications for both Publish-Subscriber and Point-to-Point protocols.
...
To write C# applications which are compatible with FioranoMQ, please refer to the samples under <fmq_installation_dir>/fmq/clients/nativecsharp/samples. FioranoMQ provides a lot of samples for C# Applications for both Publish-Subscriber and Point-To-Point protocols.
What are the DLL's DLLs required in order to compile and run the new created Csharp JMS Application?
...