InMemoryTransport.publish InMemoryTransport.publish(topic, message)[source] Publish a message to a topic. Parameters: topicTopicInstance of the topic to publish to. messageMessageInstance of the message to publish.