[23.09.2020] sending testing
This commit is contained in:
parent
80b3485138
commit
2010a0134f
@ -20,7 +20,10 @@ def activeMQSender(message, logger):
|
|||||||
|
|
||||||
logger.info("Attempting Connection to Artemis...")
|
logger.info("Attempting Connection to Artemis...")
|
||||||
con = stomp.Connection([(addr, port)])
|
con = stomp.Connection([(addr, port)])
|
||||||
|
con.start()
|
||||||
con.connect( mqUser, mqPass, wait=True)
|
con.connect( mqUser, mqPass, wait=True)
|
||||||
|
|
||||||
con.send(message, destination="/PricingSave.dlq" )
|
con.send(message, destination="/topic/event" )
|
||||||
|
|
||||||
|
con.disconnect()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user