Hello everyone, I want to create my jpos Channel Adaptor (from server_channel.xml) ip and port, loaded from my spring application. Anyone have any ideas?
I try to get the channel adapter and set it. From Q2 log, my server can send and receive request, but my spring run time out. This is my code (in kotlin):
val channel = NameRegistrar.get("server-channel") as ChannelAdaptor
channel.port = 8080
channel.stop()
channel.start()
channel.send(isoMsg, 1000)
var response: ISOMsg = channel.receive( 10000)
Thank you.