Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Configuring the Receiver

Configuring a Receiver consists of obtaining information, creating the Receiver, creating the Receiver TCP connection, and discarding the Receiver.

Procedure
1. Use the following function for the Receiver side:
   `LoadBalancer.Receiver.*`
2. Obtain information for a local channel needed for the Receiver:
   `int port = System.getSystemPropertyAsInt("receiver_localchnl_localdest_port", 34567);`
3. Create a Receiver.
   The receiver object, which receives messages from a router, is created and returned. Messages will be received from the router on the local channel and destination specified.
4. Create the Receiver TCP connection in a startup rule function.

       Object LoadBalancer.Receiver.createTcpReceiverFor(String adhocConfigName

5. Discard the Receiver in the shutdown rule function.

       LoadBalancer.Receiver.discardReceiver(Object loadBalancedReceiver;

Did you find this helpful?

YesNo
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 BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.