l.s.m.i.IMessageProducer(Interface) : interface documentation

Part of lp.services.messaging.interfaces View In Hierarchy

No interface docstring
Method send Serialize data into JSON and send it to the queue on commit.
Method sendNow Serialize data into JSON and send it to the queue immediately.
Method associateConsumer Make the consumer receive messages from this producer on commit.
Method associateConsumerNow Make the consumer receive messages from this producer.
def send(data):
Serialize data into JSON and send it to the queue on commit.
def sendNow(data):
Serialize data into JSON and send it to the queue immediately.
def associateConsumer(consumer):
Make the consumer receive messages from this producer on commit.
ParametersconsumerAn IMessageConsumer
def associateConsumerNow(consumer):
Make the consumer receive messages from this producer.
ParametersconsumerAn IMessageConsumer
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.