mirror of
https://github.com/paulscherrerinstitute/sf_daq_broker.git
synced 2026-06-07 11:48:40 +02:00
rabbitmq tag for new epics_writer
This commit is contained in:
committed by
Data Backend account
parent
48aa70a6a3
commit
e274dfd52e
@@ -52,6 +52,8 @@ class RabbitMqClient(object):
|
||||
routing_key = broker_config.DETECTOR_CONVERSION_ROUTE
|
||||
elif ( tag == broker_config.TAG_PEDESTAL or tag == broker_config.TAG_POWER_ON ):
|
||||
routing_key = broker_config.DETECTOR_PEDESTAL_ROUTE
|
||||
elif ( tag.startswith('epics_') ):
|
||||
routing_key = tag
|
||||
|
||||
request_id = str(uuid.uuid4())
|
||||
body_bytes = json.dumps(write_request).encode()
|
||||
|
||||
Reference in New Issue
Block a user