public class ActiveMQPublisher extends Object implements EventProducer<org.streampipes.model.grounding.JmsTransportProtocol>
| Constructor and Description |
|---|
ActiveMQPublisher() |
ActiveMQPublisher(String url,
String topic) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(org.streampipes.model.grounding.JmsTransportProtocol protocolSettings) |
void |
disconnect() |
Boolean |
isConnected() |
void |
publish(byte[] event) |
void |
sendText(String message) |
public void sendText(String message) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void connect(org.streampipes.model.grounding.JmsTransportProtocol protocolSettings)
throws org.streampipes.commons.exceptions.SpRuntimeException
connect in interface EventProducer<org.streampipes.model.grounding.JmsTransportProtocol>org.streampipes.commons.exceptions.SpRuntimeExceptionpublic void publish(byte[] event)
publish in interface EventProducer<org.streampipes.model.grounding.JmsTransportProtocol>public void disconnect()
throws org.streampipes.commons.exceptions.SpRuntimeException
disconnect in interface EventProducer<org.streampipes.model.grounding.JmsTransportProtocol>org.streampipes.commons.exceptions.SpRuntimeExceptionpublic Boolean isConnected()
isConnected in interface EventProducer<org.streampipes.model.grounding.JmsTransportProtocol>Copyright © 2018. All rights reserved.