automated terminal push

This commit is contained in:
Software Shinobi
2025-03-10 10:38:18 -04:00
parent 6a06716248
commit b502971a89
11 changed files with 154 additions and 2172 deletions

18
jms.py Normal file
View File

@@ -0,0 +1,18 @@
import stomp
def writeSullyURLToJMS(channel):
print(f"launch -> jms writer -> channel-> {channel}")
conn = stomp.Connection([('osiris.yankee.embanet.online', 61613)])
conn.connect('admin', 'password', wait=True)
try:
conn.send(body=channel.strip(), destination='/queue/yankee-sully-channels-monthly')
finally:
conn.disconnect()