In this article, I will show how you can easily containerize .Net/Java Gateways.
For our example, we will develop an Integration with Apache Kafka.
And to interoperate with Java/.Net code we will use PEX .
Architecture
Our solution will run completely in docker and look like this:
Java Gateway
First of all, let's develop Java Operation to send messages into Kafka. The code can be written in your IDE of choice and it can look like this.
In short:
- To develop new PEX Business Operation we need to implement abstract com.intersystems.enslib.pex.BusinessOperation class
- Public properties are
.png)
.png)




