public class ActivemqProducer extends Object
| Constructor and Description |
|---|
ActivemqProducer(org.apache.activemq.ActiveMQConnectionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Session |
beginTransaction() |
boolean |
publish(org.noear.solon.cloud.model.Event event,
String topic)
发布事件
|
boolean |
publish(org.noear.solon.cloud.model.Event event,
String topic,
long delay) |
public ActivemqProducer(org.apache.activemq.ActiveMQConnectionFactory factory)
public boolean publish(org.noear.solon.cloud.model.Event event,
String topic)
throws Exception
Exceptionpublic javax.jms.Session beginTransaction()
throws javax.jms.JMSException
javax.jms.JMSExceptionpublic boolean publish(org.noear.solon.cloud.model.Event event,
String topic,
long delay)
throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2025. All rights reserved.