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()