Open topic with navigation

TIBCO® Enterprise Administrator 2.4.2

# Auto-Registering in the Server Mode

The following example shows how the TeaAgentServer can be configured to auto-register itself.

    TeaAgentServer server =
    new TeaAgentServer("HelloWorldAgent", "1.1", "Hello World Agent", 1234, "/helloworldagent", true);
    server.registerInstance(new HelloWorldAgent());
    server.registerAgentAutoRegisterListener("http://localhost:8777/tea");
    server.start();

com.tibco.tea.agent.server.TeaAgentServer.registerAgentAutoRegisterListener() is used to register the agent with the server. The method takes the server URL as the parameter.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO® Enterprise Administrator

Copyright © 1996-2025. Cloud Software Group, Inc. All Rights Reserved.