mirror of
https://git.kotyczka.ch/developers/django.git
synced 2025-04-06 07:45:08 +02:00
6 lines
185 B
Python
Executable File
6 lines
185 B
Python
Executable File
import stomp
|
|
|
|
conn = stomp.Connection()
|
|
conn.connect('smx', 'smx', wait=True)
|
|
conn.send(content_type='application/raw',body=' Hello Stomp ', destination='/queue/test')
|
|
conn.disconnect() |