Managing distributed applications requires multiple Agents. It is likely that you will wish to run a single Agent on a single server for production purposes; however, you may wish to run multiple Agents on a single server, especially in a testing environment.
To run multiple Agents on a single machine, you must:
Disable the local-invoke property in the WSDL interfaces representing services to be run in the Agents. For example:
<rwsf:properties local-invoke="disabled" xmlns:rwsf="http://www.roguewave.com/rwsf"/>
By default, the Agent evaluates a service location and makes a local call if the service is hosted locally, improving performance. However, if a single service is hosted on two Agents, for example, the incoming message is automatically routed to the local Agent, and won't call the remote Agent.
Assign each Agent a unique port.
You may also use an Agent in a "broker" role to filter messages among Agents. For example, an Agent used as a broker might route messages to other Agents based on specific bindings.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.