couple of questions #102
mehrdad2000
started this conversation in
General
Replies: 1 comment 2 replies
-
If you are running in Server Mode there may be no incoming connection on that port. Check the logs for 60 lines like the following
I suggest you def baos = new java.io.ByteArrayOutputStream()
def ps = new java.io.PrintStream(baos)
message.dump(ps, '')
log.info(baos.toString()) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I've had couple of questions:
1-Need to continuously listen to specific port to response message, as background process.
here is my groovy response script, when I run it, will wait for 60 second then stopped:
responder.groovy
message.setResponseMTI()
message.set(39, '00')
source.send(message)
2-I've enabled debug mode and able to see unpacked message that received but can't see full response that generate by groovy script and send back.
here is the log:
2024-08-12 15:15:11,184 DEBUG n.c.b.j.i.Q2: (channel/192.168.1.1:36296) [send] Out: 0110 192292 00091119
Any idea?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions