DX NetOps

 View Only

Corba Event Callback behind NAT

  • 1.  Corba Event Callback behind NAT

    Posted May 14, 2020 11:11 AM
    Hi,

    I have taken example WatchEvent.java and EventCallback.java compiled and run on a Linux server successfully when there is no firewall.

    I want to run a program which listens to streamed Events and runs in a docker container, so behind NAT.

    I believe I need to use bi-directional IIOP which visibroker supports.
    VisiBroker for Java 4.5: Programmer's Guide: Bidirectional Communication
    Albany remove preview
    VisiBroker for Java 4.5: Programmer's Guide: Bidirectional Communication
    This chapter explains how to establish bidirectional connections in VisiBroker without using the Gatekeeper. Information about bidirectional communications when using Gatekeeper is available in the VisiBroker for Java Gatekeeper Guide. Before enabling bidirectional IIOP, please read about Note: "Security considerations." Most clients and servers that exchange information via the Internet are typically protected by corporate firewalls.
    View this on Albany >

    bidirectional support is configured by vbroker.orb.enableBiDir

    But I can't see away to configure this via the java libraries or at run time.  Can anyone help please?